From: Anatol Belski Date: Wed, 12 Nov 2014 18:06:09 +0000 (+0100) Subject: pre create the build dir X-Git-Tag: PRE_NATIVE_TLS_MERGE~130^2~20^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4d7a21d0f25da3258672a24cbe109cde00830320;p=php pre create the build dir otherwise response file generation might fail --- diff --git a/win32/build/confutils.js b/win32/build/confutils.js index 181230f4ba..7489e052f8 100644 --- a/win32/build/confutils.js +++ b/win32/build/confutils.js @@ -2717,6 +2717,10 @@ function setup_zts_stuff() DEFINE("PHPLIB", "php" + PHP_VERSION + ".lib"); } } + + if (!FSO.FolderExists(get_define('BUILD_DIR'))) { + FSO.CreateFolder(get_define('BUILD_DIR')); + } } function php_build_option_handle()