mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Merge branch 'PHP-5.5' into PHP-5.6
This commit is contained in:
commit
9bef96d96e
7 changed files with 52 additions and 19 deletions
|
@ -1364,9 +1364,6 @@ function EXTENSION(extname, file_list, shared, cflags, dllname, obj_dir)
|
|||
if (MODE_PHPIZE && FSO.FileExists(PHP_DIR + "/include/main/config.pickle.h")) {
|
||||
cflags = "/FI main/config.pickle.h " + cflags;
|
||||
}
|
||||
if (MODE_PHPIZE && FSO.FileExists(PHP_DIR + "/include/main/config.pickle.h")) {
|
||||
cflags = "/FI main/config.pickle.h " + cflags;
|
||||
}
|
||||
ADD_FLAG("CFLAGS_" + EXT, cflags);
|
||||
|
||||
if (PHP_DSP != "no") {
|
||||
|
@ -1905,6 +1902,7 @@ function generate_phpize()
|
|||
|
||||
var MF = FSO.CreateTextFile(dest + "/phpize.js", true);
|
||||
var DEPS = FSO.CreateTextFile(dest + "/ext_deps.js", true);
|
||||
|
||||
prefix = get_define("PHP_PREFIX");
|
||||
prefix = prefix.replace(new RegExp("/", "g"), "\\");
|
||||
prefix = prefix.replace(new RegExp("\\\\", "g"), "\\\\");
|
||||
|
@ -1990,8 +1988,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