mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
implemented copy libs of core exts in phpize mode
This commit is contained in:
parent
35b077f53e
commit
c5ccaf1d04
2 changed files with 13 additions and 3 deletions
|
@ -1952,8 +1952,18 @@ function generate_makefile()
|
|||
for (var i in extensions_enabled) {
|
||||
var lib = "php_" + extensions_enabled[i][0] + ".lib";
|
||||
var dll = "php_" + extensions_enabled[i][0] + ".dll";
|
||||
MF.WriteLine(" @copy $(BUILD_DIR)\\" + lib + " $(BUILD_DIR_DEV)\\lib\\" + lib);
|
||||
MF.WriteLine(" @copy $(BUILD_DIR)\\" + dll + " $(PHP_PREFIX)\\" + dll);
|
||||
MF.WriteLine(" @copy $(BUILD_DIR)\\" + lib + " $(BUILD_DIR_DEV)\\lib");
|
||||
MF.WriteLine(" @copy $(BUILD_DIR)\\" + dll + " $(PHP_PREFIX)");
|
||||
}
|
||||
} else {
|
||||
MF.WriteBlankLines(1);
|
||||
MF.WriteLine("build-ext-libs:");
|
||||
for (var i in extensions_enabled) {
|
||||
var lib = "php_" + extensions_enabled[i][0] + ".lib";
|
||||
|
||||
if ('shared' == extensions_enabled[i][1]) {
|
||||
MF.WriteLine(" @copy $(BUILD_DIR)\\" + lib + " $(BUILD_DIR_DEV)\\lib");
|
||||
}
|
||||
}
|
||||
}
|
||||
TF.Close();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue