cvs: php-src /win32/build config.w32

From: Date: Tue, 14 Nov 2006 14:11:05 +0000
Subject: cvs: php-src /win32/build config.w32
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-41547@lists.php.net to get a copy of this message
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 + '" '); + } } } }

« previous php.cvs (#41547) next »