Fixed VC2005 support

This commit is contained in:
Dmitry Stogov 2006-11-14 14:20:41 +00:00
parent 8983879bdd
commit 6d7989a23d

View File

@ -226,7 +226,7 @@ function add_extra_dirs()
for (i = 0; i < path.length; i++) {
f = FSO.GetAbsolutePathName(path[i]);
if (FSO.FolderExists(f)) {
if (f.indexOf(" ") >= 0) {
if (VCVERS <= 12 && f.indexOf(" ") >= 0) {
ADD_FLAG("LDFLAGS", '/libpath:"\\"' + f + '\\"" ');
} else {
ADD_FLAG("LDFLAGS", '/libpath:"' + f + '" ');