From 78724c86b63d08b08ebe8be2a98856a7c9dc6d75 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 24 Aug 2016 16:50:03 +0200 Subject: Pick *.libs variable depending on library type during static linking --- build2/c/init.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'build2/c') diff --git a/build2/c/init.cxx b/build2/c/init.cxx index 4eab8a6..be72655 100644 --- a/build2/c/init.cxx +++ b/build2/c/init.cxx @@ -148,6 +148,8 @@ namespace build2 v["cc.export.loptions"], v["cc.export.libs"], + v["cc.type"], + v.insert ("c.std", true), v.insert ("c.id"), -- cgit v1.1