diff options
Diffstat (limited to 'build2/cc/common.cxx')
-rw-r--r-- | build2/cc/common.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/build2/cc/common.cxx b/build2/cc/common.cxx index 951cc47..3daada1 100644 --- a/build2/cc/common.cxx +++ b/build2/cc/common.cxx @@ -532,7 +532,7 @@ namespace build2 // const char* e (""); - if (cclass == compiler_class::msvc) + if (tsys == "win32-msvc") { an = path (name); e = "lib"; @@ -560,7 +560,7 @@ namespace build2 { const char* e (""); - if (cclass == compiler_class::msvc) + if (tsys == "win32-msvc") { sn = path (name); e = "dll.lib"; @@ -679,7 +679,7 @@ namespace build2 // // If we didn't find .dll.lib then we cannot assume .lib is static. // - if (!an.empty () && (s != nullptr || cclass != compiler_class::msvc)) + if (!an.empty () && (s != nullptr || tsys != "win32-msvc")) { f = d; f /= an; @@ -700,7 +700,7 @@ namespace build2 // Alternative search for VC. // - if (cclass == compiler_class::msvc) + if (tsys == "win32-msvc") { const scope& rs (*p.scope->root_scope ()); const process_path& ld (cast<process_path> (rs["bin.ld.path"])); |