Skip to content

Commit

Permalink
Merge branch 'PHP-5.5' into PHP-5.6
Browse files Browse the repository at this point in the history
* PHP-5.5:
  fix nmake snap when ext name is different in target dll
  • Loading branch information
weltling committed Jul 21, 2014
2 parents f6d941e + 6fcd8e5 commit a6ecb87
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions win32/build/confutils.js
Original file line number Diff line number Diff line change
Expand Up @@ -1994,11 +1994,14 @@ function generate_makefile()
} else {
MF.WriteBlankLines(1);
MF.WriteLine("build-ext-libs:");
MF.WriteLine(" @if not exist $(BUILD_DIR_DEV)\\lib mkdir $(BUILD_DIR_DEV)\\lib >nul");
for (var i in extensions_enabled) {
var lib = "php_" + extensions_enabled[i][0] + ".lib";
var lib;

lib = "php_" + extensions_enabled[i][0] + "*.lib";

if ('shared' == extensions_enabled[i][1]) {
MF.WriteLine(" @copy $(BUILD_DIR)\\" + lib + " $(BUILD_DIR_DEV)\\lib");
MF.WriteLine(" @if exist $(BUILD_DIR)\\" + lib + " copy $(BUILD_DIR)\\" + lib + " $(BUILD_DIR_DEV)\\lib");
}
}
}
Expand Down

0 comments on commit a6ecb87

Please sign in to comment.