diff options
author | Anatol Belski <ab@php.net> | 2014-07-18 11:40:53 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2014-07-18 11:40:53 +0200 |
commit | f304fb848fa63c693df92a67a5f1066da060e8f3 (patch) | |
tree | 94145088c8b8b6d9399cb6f36f3d7880b374a01e /win32/build/confutils.js | |
parent | ba1cf321f301410cc5b3da61e106040187f1787b (diff) | |
parent | 35b077f53e0f8a1debc8bbacf1328b40c62099ab (diff) | |
download | php-git-f304fb848fa63c693df92a67a5f1066da060e8f3.tar.gz |
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
fix copy the ext dll into the prefix path in phpize mode
fix default prefix in phpize mode
fix file with zero size usage in phpize mode
Diffstat (limited to 'win32/build/confutils.js')
-rw-r--r-- | win32/build/confutils.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/win32/build/confutils.js b/win32/build/confutils.js index c2c322b08c..64d40e9b58 100644 --- a/win32/build/confutils.js +++ b/win32/build/confutils.js @@ -1362,9 +1362,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") {
@@ -1884,6 +1881,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"), "\\\\");
@@ -1970,7 +1968,7 @@ function generate_makefile() 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)\\" + dll + " $(PHP_PREFIX)\\" + dll);
}
}
TF.Close();
|