From: Anatol Belski Date: Fri, 7 Nov 2014 17:39:03 +0000 (+0100) Subject: either ms or intel linker is used, /libpath is supported X-Git-Tag: PRE_PHP7_REMOVALS~55 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2e5cba25e8fa7e980746d0111c0740fdd4002b74;p=php either ms or intel linker is used, /libpath is supported --- diff --git a/win32/build/config.w32 b/win32/build/config.w32 index 81a7bd901a..ebe8011148 100644 --- a/win32/build/config.w32 +++ b/win32/build/config.w32 @@ -232,12 +232,10 @@ function add_extra_dirs() for (i = 0; i < path.length; i++) { f = FSO.GetAbsolutePathName(path[i]); if (FSO.FolderExists(f)) { - if (VS_TOOLSET) { - if (VCVERS <= 1200 && f.indexOf(" ") >= 0) { - ADD_FLAG("LDFLAGS", '/libpath:"\\"' + f + '\\"" '); - } else { - ADD_FLAG("LDFLAGS", '/libpath:"' + f + '" '); - } + if (VS_TOOLSET && VCVERS <= 1200 && f.indexOf(" ") >= 0) { + ADD_FLAG("LDFLAGS", '/libpath:"\\"' + f + '\\"" '); + } else { + ADD_FLAG("LDFLAGS", '/libpath:"' + f + '" '); } } }