com php-src: create the php prefix if doesn't exist: win32/build/confutils.js
| From: | Anatol Belski | Date: | Thu, 12 Mar 2015 14:20:53 +0000 |
| Subject: | com php-src: create the php prefix if doesn't exist: win32/build/confutils.js | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-85482@lists.php.net to get a copy of this message | ||
Commit: 6b643f0741e59fb2473e23c0ead6715b661845b1
Author: Anatol Belski <ab@php.net> Thu, 12 Mar 2015 15:20:53 +0100
Parents: 675606f1a673e285cd0eb5720484376a5fc90eba
Branches: PHP-5.5 PHP-5.6 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=6b643f0741e59fb2473e23c0ead6715b661845b1
Log:
create the php prefix if doesn't exist
Changed paths:
M win32/build/confutils.js
Diff:
diff --git a/win32/build/confutils.js b/win32/build/confutils.js
index ef7cb82..8423876 100644
--- a/win32/build/confutils.js
+++ b/win32/build/confutils.js
@@ -1968,6 +1968,7 @@ function generate_makefile()
var lib = "php_" + extensions_enabled[i][0] + ".lib";
var dll = "php_" + extensions_enabled[i][0] + ".dll";
MF.WriteLine(" @copy $(BUILD_DIR)\\" + lib + " $(BUILD_DIR_DEV)\\lib");
+ MF.WriteLine(" @if not exist $(PHP_PREFIX) mkdir $(PHP_PREFIX) >nul");
MF.WriteLine(" @copy $(BUILD_DIR)\\" + dll + " $(PHP_PREFIX)");
}
} else {