aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/common
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-08-24 16:50:03 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-08-24 16:50:03 +0200
commit78724c86b63d08b08ebe8be2a98856a7c9dc6d75 (patch)
treefb2555b2f153c3cb23affe34de8fc8da6a88cf57 /build2/cc/common
parent3a8972b42f75e10e9a833bba58d65009e7bed7f3 (diff)
Pick *.libs variable depending on library type during static linking
Diffstat (limited to 'build2/cc/common')
-rw-r--r--build2/cc/common2
1 files changed, 2 insertions, 0 deletions
diff --git a/build2/cc/common b/build2/cc/common
index 987fe7b..ff6841f 100644
--- a/build2/cc/common
+++ b/build2/cc/common
@@ -57,6 +57,8 @@ namespace build2
const variable& c_export_loptions;
const variable& c_export_libs;
+ const variable& c_type; // cc.type
+
const variable& x_std;
const variable& x_id;