mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Merge branch 'PHP-5.6'
* PHP-5.6: fix nmake snap when ext name is different in target dll
This commit is contained in:
commit
b39f98cf81
1 changed files with 5 additions and 2 deletions
|
@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue