dmitry Tue Nov 14 14:11:05 2006 UTC
Modified files:
/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.57&r2=1.58&diff_format=u
Index: php-src/win32/build/config.w32
diff -u php-src/win32/build/config.w32:1.57 php-src/win32/build/config.w32:1.58
--- php-src/win32/build/config.w32:1.57 Fri Nov 10 09:56:37 2006
+++ php-src/win32/build/config.w32 Tue Nov 14 14:11:05 2006
@@ -1,5 +1,5 @@
// vim:ft=javascript
-// $Id: config.w32,v 1.57 2006/11/10 09:56:37 dmitry Exp $
+// $Id: config.w32,v 1.58 2006/11/14 14:11:05 dmitry Exp $
// "Master" config file; think of it as a configure.in
// equivalent.
@@ -226,7 +226,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