aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/dyndep.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-06-29 09:25:52 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-06-29 09:25:52 +0200
commita8777a4aa67b1cf60d7053635d1a3edadca5779e (patch)
treeb6aa0ddefbd060517deab90a939fa5df2f861499 /libbuild2/dyndep.cxx
parent7eb5fa7d01a5ee352b65b6f08ec893abcf016096 (diff)
Make sure we generate common pkg-config file for only liba{}/libs{}
Diffstat (limited to 'libbuild2/dyndep.cxx')
-rw-r--r--libbuild2/dyndep.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/libbuild2/dyndep.cxx b/libbuild2/dyndep.cxx
index bc307f6..bbbf807 100644
--- a/libbuild2/dyndep.cxx
+++ b/libbuild2/dyndep.cxx
@@ -542,8 +542,7 @@ namespace build2
// implied ones because pre-entered members of a target group
// (e.g., cli.cxx) are implied.
//
- if (x->decl == target_decl::real ||
- x->decl == target_decl::implied)
+ if (x->decl >= target_decl::implied)
{
r = x;
break;