From e59b4fc15eef3b3d0af5b81190b1e54f270ee2d2 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 28 Sep 2022 16:39:03 +0200 Subject: 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. --- libbuild2/cc/link-rule.cxx | 1 - 1 file changed, 1 deletion(-) (limited to 'libbuild2/cc/link-rule.cxx') 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 { -- cgit v1.1