summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@php.net>2006-11-14 14:10:53 +0000
committerDmitry Stogov <dmitry@php.net>2006-11-14 14:10:53 +0000
commit9b5a57f548707c64d9b52eb98536876ef5254650 (patch)
tree454278cf884a314d42614cb0e9434acef2e53a74 /win32
parentdf56d2430430dcbd377b3b3c1aa48e6df1645194 (diff)
downloadphp-git-9b5a57f548707c64d9b52eb98536876ef5254650.tar.gz
Fixed problem with spaces in libpath
Diffstat (limited to 'win32')
-rw-r--r--win32/build/config.w326
1 files changed, 5 insertions, 1 deletions
diff --git a/win32/build/config.w32 b/win32/build/config.w32
index 3c37f9b722..6c8b18e11d 100644
--- a/win32/build/config.w32
+++ b/win32/build/config.w32
@@ -227,7 +227,11 @@ function add_extra_dirs()
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 + '" ');
+ }
}
}
}