diff options
author | Anatol Belski <ab@php.net> | 2018-03-26 13:39:30 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2018-03-26 13:39:30 +0200 |
commit | e9cbd3c4b0d5a5437959b6f8819e49ba33c3cf28 (patch) | |
tree | 31f59c8375d3823f4b007ef8a528a76b0979101a /win32/build | |
parent | 033907b9a58f137443ab257a9f1f597df34dafc2 (diff) | |
parent | 35f832a007d3db82a7f65fcad19e5b21ab9bcc7b (diff) | |
download | php-git-e9cbd3c4b0d5a5437959b6f8819e49ba33c3cf28.tar.gz |
Merge branch 'PHP-7.2'
* PHP-7.2:
Fix phpize build when DEFINE() is involved
Diffstat (limited to 'win32/build')
-rw-r--r-- | win32/build/confutils.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/win32/build/confutils.js b/win32/build/confutils.js index a8cfad8197..c19839b0ea 100644 --- a/win32/build/confutils.js +++ b/win32/build/confutils.js @@ -1532,7 +1532,11 @@ function EXTENSION(extname, file_list, shared, cflags, dllname, obj_dir) DEFINE('CFLAGS_' + EXT + '_OBJ', '$(CFLAGS_PHP) $(CFLAGS_' + EXT + ')'); } - if (MODE_PHPIZE && FSO.FileExists(PHP_DIR + "/include/main/config.pickle.h")) { + if (MODE_PHPIZE) { + if (!FSO.FileExists(PHP_DIR + "/include/main/config.pickle.h")) { + var _tmp = FSO.CreateTextFile(PHP_DIR + "/include/main/config.pickle.h", true); + _tmp.Close(); + } cflags = "/FI main/config.pickle.h " + cflags; } ADD_FLAG("CFLAGS_" + EXT, cflags); |