mirror of
https://github.com/php/php-src.git
synced 2026-04-17 04:51:03 +02:00
Fix phpize build when DEFINE() is involved
This commit is contained in:
@@ -1480,7 +1480,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);
|
||||
|
||||
Reference in New Issue
Block a user