aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/install.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/cc/install.cxx')
-rw-r--r--build2/cc/install.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/cc/install.cxx b/build2/cc/install.cxx
index 529a758..c35e931 100644
--- a/build2/cc/install.cxx
+++ b/build2/cc/install.cxx
@@ -48,7 +48,7 @@ namespace build2
//
if (const lib* l = pt->is_a<lib> ())
pt = &link_member (
- *l, a, link_order (t.base_scope (), link_type (t)));
+ *l, a, link_info (t.base_scope (), link_type (t).type));
if (pt->is_a<libs> ()) // Can be liba{}.
return pt->in (t.weak_scope ()) ? pt : nullptr;