aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/common.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-12-06 10:50:31 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-12-06 10:50:31 +0200
commit6e197bdfcc680080bd18bcc3c612447472090841 (patch)
tree7d6f91a6e160718ea813e68a164b8052834581f7 /build2/cc/common.cxx
parentdbeaddc16c0bcfab9162f99411a317bc27bdb85e (diff)
More work on Clang on Windows/MSVC support
Diffstat (limited to 'build2/cc/common.cxx')
-rw-r--r--build2/cc/common.cxx8
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"]));