aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc/link-rule.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-09-28 16:39:03 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-09-28 16:39:03 +0200
commite59b4fc15eef3b3d0af5b81190b1e54f270ee2d2 (patch)
treea5ed16c04977a4b79058ac4551b41b51b84f0305 /libbuild2/cc/link-rule.cxx
parentf96b437a0c0ff0a62b16d425d500496ffb76e70e (diff)
Omit -l for binless libraries, metadata from common .pc file
Having -l options for binless (header-only) libraries makes it unusable from other build systems. But omitting them could make the metadata incomplete (for example, importable headers), so we omit that as well.
Diffstat (limited to 'libbuild2/cc/link-rule.cxx')
-rw-r--r--libbuild2/cc/link-rule.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/libbuild2/cc/link-rule.cxx b/libbuild2/cc/link-rule.cxx
index 60d3718..8bc073a 100644
--- a/libbuild2/cc/link-rule.cxx
+++ b/libbuild2/cc/link-rule.cxx
@@ -870,7 +870,6 @@ namespace build2
(type[p += 19] == '\0' || type[p] == ','));
}
-
recipe link_rule::
apply (action a, target& xt, match_extra&) const
{