From 2e5cba25e8fa7e980746d0111c0740fdd4002b74 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Fri, 7 Nov 2014 18:39:03 +0100 Subject: [PATCH] either ms or intel linker is used, /libpath is supported --- win32/build/config.w32 | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) 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 + '" '); } } } -- 2.40.0