aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/common.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/cc/common.cxx')
-rw-r--r--build2/cc/common.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/build2/cc/common.cxx b/build2/cc/common.cxx
index e022abb..951cc47 100644
--- a/build2/cc/common.cxx
+++ b/build2/cc/common.cxx
@@ -532,7 +532,7 @@ namespace build2
//
const char* e ("");
- if (cid == compiler_id::msvc)
+ if (cclass == compiler_class::msvc)
{
an = path (name);
e = "lib";
@@ -560,7 +560,7 @@ namespace build2
{
const char* e ("");
- if (cid == compiler_id::msvc)
+ if (cclass == compiler_class::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 || cid != compiler_id::msvc))
+ if (!an.empty () && (s != nullptr || cclass != compiler_class::msvc))
{
f = d;
f /= an;
@@ -700,7 +700,7 @@ namespace build2
// Alternative search for VC.
//
- if (cid == compiler_id::msvc)
+ if (cclass == compiler_class::msvc)
{
const scope& rs (*p.scope->root_scope ());
const process_path& ld (cast<process_path> (rs["bin.ld.path"]));
@@ -899,7 +899,7 @@ namespace build2
dir_path d;
- if (cid == compiler_id::msvc)
+ if (cclass == compiler_class::msvc)
{
// /LIBPATH:<dir> (case-insensitive).
//