Skip to content

Commit 23bf3c9

Browse files
committed
MFB: Make DLL only once (Wez)
1 parent 01e2b4c commit 23bf3c9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

win32/build/confutils.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
+----------------------------------------------------------------------+
1818
*/
1919

20-
// $Id: confutils.js,v 1.66 2007-01-29 04:40:46 iliaa Exp $
20+
// $Id: confutils.js,v 1.67 2007-03-19 03:16:18 edink Exp $
2121

2222
var STDOUT = WScript.StdOut;
2323
var STDERR = WScript.StdErr;
@@ -1045,7 +1045,9 @@ function EXTENSION(extname, file_list, shared, cflags, dllname, obj_dir)
10451045
var resname = generate_version_info_resource(dllname, configure_module_dirname);
10461046
var ld = "@$(CC)";
10471047

1048-
MFO.WriteLine("$(BUILD_DIR)\\" + dllname + " $(BUILD_DIR)\\" + libname + ": $(DEPS_" + EXT + ") $(" + EXT + "_GLOBAL_OBJS) $(BUILD_DIR)\\$(PHPLIB) $(BUILD_DIR)\\" + resname);
1048+
MFO.WriteLine("$(BUILD_DIR)\\" + libname + ": $(BUILD_DIR)\\" + dllname);
1049+
MFO.WriteBlankLines(1);
1050+
MFO.WriteLine("$(BUILD_DIR)\\" + dllname + ": $(DEPS_" + EXT + ") $(" + EXT + "_GLOBAL_OBJS) $(BUILD_DIR)\\$(PHPLIB) $(BUILD_DIR)\\" + resname);
10491051
MFO.WriteLine("\t" + ld + " $(" + EXT + "_GLOBAL_OBJS) $(BUILD_DIR)\\$(PHPLIB) $(LIBS_" + EXT + ") $(LIBS) $(BUILD_DIR)\\" + resname + " /link /out:$(BUILD_DIR)\\" + dllname + " $(DLL_LDFLAGS) $(LDFLAGS) $(LDFLAGS_" + EXT + ")");
10501052
MFO.WriteLine("\t-@$(_VC_MANIFEST_EMBED_DLL)");
10511053
MFO.WriteBlankLines(1);

0 commit comments

Comments
 (0)