Created
March 26, 2019 18:25
-
-
Save cmb69/88f0f1515f56812491e2064a5784cc36 to your computer and use it in GitHub Desktop.
Patch for command line too long
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
win32/build/Makefile | 4 +++- | |
1 file changed, 3 insertions(+), 1 deletion(-) | |
diff --git a/win32/build/Makefile b/win32/build/Makefile | |
index 87a3e81a55..c570f5c1fe 100644 | |
--- a/win32/build/Makefile | |
+++ b/win32/build/Makefile | |
@@ -90,7 +90,9 @@ $(PHPDLL_RES): win32\build\template.rc | |
$(BUILD_DIR)\$(PHPDLL): generated_files $(PHPDEF) $(PHP_GLOBAL_OBJS) $(STATIC_EXT_OBJS) $(PHPDLL_RES) $(MCFILE) | |
@copy win32\build\default.manifest $(BUILD_DIR)\$(PHPDLL).manifest | |
- @$(CC) $(PHP_GLOBAL_OBJS) $(STATIC_EXT_OBJS) $(STATIC_EXT_LIBS) $(LIBS) $(PHPDLL_RES) /link /out:$(BUILD_DIR)\$(PHPDLL) $(PHP5_PGD_OPTION) $(PHP_LDFLAGS) $(LDFLAGS) $(STATIC_EXT_LDFLAGS) | |
+ @"$(LINK)" @<< | |
+$(PHP_GLOBAL_OBJS) $(STATIC_EXT_OBJS) $(STATIC_EXT_LIBS) $(LIBS) $(PHPDLL_RES) /out:$(BUILD_DIR)\$(PHPDLL) $(PHP5_PGD_OPTION) $(PHP_LDFLAGS) $(LDFLAGS) $(STATIC_EXT_LDFLAGS) | |
+<< | |
-@$(_VC_MANIFEST_EMBED_DLL) | |
$(BUILD_DIR)\$(PHPLIB): $(BUILD_DIR)\$(PHPDLL) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment