summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-11-12 19:06:09 +0100
committerAnatol Belski <ab@php.net>2014-11-12 19:06:09 +0100
commit4d7a21d0f25da3258672a24cbe109cde00830320 (patch)
tree7b4bb371c2afd8a0f3e4f90e28ec398cd5cf2528 /win32
parent29b28f7ce617c41be09db6f40fdc26e782bb882e (diff)
downloadphp-git-4d7a21d0f25da3258672a24cbe109cde00830320.tar.gz
pre create the build dir
otherwise response file generation might fail
Diffstat (limited to 'win32')
-rw-r--r--win32/build/confutils.js4
1 files changed, 4 insertions, 0 deletions
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()