aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc/link-rule.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/cc/link-rule.cxx')
-rw-r--r--libbuild2/cc/link-rule.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/cc/link-rule.cxx b/libbuild2/cc/link-rule.cxx
index c4938c9..3d899e8 100644
--- a/libbuild2/cc/link-rule.cxx
+++ b/libbuild2/cc/link-rule.cxx
@@ -1615,7 +1615,7 @@ namespace build2
// is important (see add_addhoc_member() for details).
//
if (operator>= (t.group->decl, target_decl::implied) // @@ VC14
- ? (ot == otype::a || !link_members (rs).a)
+ ? ot == (link_members (rs).a ? otype::a : otype::s)
: search_existing (ctx,
ot == otype::a
? libs::static_type