dmitry Tue Nov 14 14:10:53 2006 UTC
Modified files: (Branch: PHP_5_2)
/php-src/win32/build config.w32
Log:
Fixed problem with spaces in libpath
http://cvs.php.net/viewvc.cgi/php-src/win32/build/config.w32?r1=1.40.2.8.2.2&r2=1.40.2.8.2.3&diff_format=u
Index: php-src/win32/build/config.w32
diff -u php-src/win32/build/config.w32:1.40.2.8.2.2
php-src/win32/build/config.w32:1.40.2.8.2.3
--- php-src/win32/build/config.w32:1.40.2.8.2.2 Fri Nov 10 09:56:16 2006
+++ php-src/win32/build/config.w32 Tue Nov 14 14:10:53 2006
@@ -1,5 +1,5 @@
// vim:ft=javascript
-// $Id: config.w32,v 1.40.2.8.2.2 2006/11/10 09:56:16 dmitry Exp $
+// $Id: config.w32,v 1.40.2.8.2.3 2006/11/14 14:10:53 dmitry Exp $
// "Master" config file; think of it as a configure.in
// equivalent.
@@ -227,7 +227,11 @@
for (i = 0; i < path.length; i++) {
f = FSO.GetAbsolutePathName(path[i]);
if (FSO.FolderExists(f)) {
- ADD_FLAG("LDFLAGS", '/libpath:"' + f + '" ');
+ if (f.indexOf(" ") >= 0) {
+ ADD_FLAG("LDFLAGS", '/libpath:"\\"' + f
+ '\\"" ');
+ } else {
+ ADD_FLAG("LDFLAGS", '/libpath:"' + f +
'" ');
+ }
}
}
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php