]> granicus.if.org Git - php/commitdiff
- MFB:
authorPierre Joye <pajoye@php.net>
Fri, 26 Dec 2008 14:11:44 +0000 (14:11 +0000)
committerPierre Joye <pajoye@php.net>
Fri, 26 Dec 2008 14:11:44 +0000 (14:11 +0000)
  - usual suspects must be in the default include/lib path (thx Rob for the notice!)
  - fix the --wtih-php-build doc, remove dead url, update the name of the deps dir

win32/build/config.w32

index f3b9e57fb9870ba7a63f2d388d9cf849042864b7..176694618c1f1547486203d455b0a3624be6a002 100644 (file)
@@ -211,7 +211,7 @@ if (PHP_DEBUG == "yes" && PHP_ZTS == "yes") {
 
 // Find the php_build dir - it contains headers and libraries
 // that we need
-ARG_WITH('php-build', 'Path to where you extracted http://www.php.net/extra/win32build.zip. Assumes that it is a sibling of this source dir (..\\php_build) if not specified', 'no');
+ARG_WITH('php-build', 'Path to where you extracted the development libraries (http://wiki.php.net/internals/windows/libs). Assumes that it is a sibling of this source dir (..\\deps) if not specified', 'no');
 
 if (PHP_PHP_BUILD == 'no') {
        if (FSO.FolderExists("..\\deps")) {
@@ -241,8 +241,11 @@ DEFINE("PHP_BUILD", PHP_PHP_BUILD);
 ARG_WITH('extra-includes', 'Extra include path to use when building everything', '');
 ARG_WITH('extra-libs', 'Extra library path to use when linking everything', '');
 
-var php_usual_include_suspects = PHP_PHP_BUILD+"\\include;..\\deps\\include";
-var php_usual_lib_suspects = PHP_PHP_BUILD+"\\lib;..\\deps\\lib";
+var php_usual_include_suspects = PHP_PHP_BUILD+"\\include";
+var php_usual_lib_suspects = PHP_PHP_BUILD+"\\lib";
+
+ADD_FLAG("CFLAGS", '/I "' + php_usual_include_suspects + '" ');
+ADD_FLAG("LDFLAGS", '/libpath:"\\"' + php_usual_lib_suspects + '\\"" ');
 
 // Poke around for some headers
 function probe_basic_headers()