]> granicus.if.org Git - php/commitdiff
pre create the build dir
authorAnatol Belski <ab@php.net>
Wed, 12 Nov 2014 18:06:09 +0000 (19:06 +0100)
committerAnatol Belski <ab@php.net>
Wed, 12 Nov 2014 18:06:09 +0000 (19:06 +0100)
otherwise response file generation might fail

win32/build/confutils.js

index 181230f4ba0f418b8c1dc01bbdb81c4b6c54d099..7489e052f8b64eb171e6db5aed718d3c77ff5c83 100644 (file)
@@ -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()