mirror of
https://github.com/php/php-src.git
synced 2024-11-25 10:54:15 +08:00
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1: Fix phpize build when DEFINE() is involved
This commit is contained in:
commit
35f832a007
@ -1503,7 +1503,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);
|
||||
|
Loading…
Reference in New Issue
Block a user