aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc/link-rule.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-03-25 09:59:49 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-03-25 09:59:49 +0200
commit7d50db8924b8ce4faf05cde737bce9114df58f0d (patch)
treeeb53f37cb54f73ebcad2a90b43a12d122b20c1d9 /libbuild2/cc/link-rule.cxx
parentfff7424a9c2dcde1f5aff66e75a62bd7112f32c6 (diff)
Store bin.whole flag in pkg-config files
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 c05522d..b5cc63b 100644
--- a/libbuild2/cc/link-rule.cxx
+++ b/libbuild2/cc/link-rule.cxx
@@ -1760,7 +1760,7 @@ namespace build2
lookup l (p.prerequisite.vars[var]);
if (!l.defined ())
- l = pt->lookup_original (var, true).first;
+ l = pt->lookup_original (var, true /* target_only */).first;
if (!l.defined ())
{