diff options
Diffstat (limited to 'build2/cc/link-rule.cxx')
-rw-r--r-- | build2/cc/link-rule.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build2/cc/link-rule.cxx b/build2/cc/link-rule.cxx index 230fc6f..ba6a22d 100644 --- a/build2/cc/link-rule.cxx +++ b/build2/cc/link-rule.cxx @@ -356,10 +356,10 @@ namespace build2 otype ot (lt.type); linfo li (link_info (bs, ot)); - // Set the library type (C, C++, etc). + // Set the library type (C, C++, etc) as rule-specific variable. // if (lt.library ()) - t.vars.assign (c_type) = string (x); + t.state[a].assign (c_type) = string (x); bool binless (lt.library ()); // Binary-less until proven otherwise. |