diff options
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); |