aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc/pkgconfig.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-08-10 08:57:59 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-08-10 08:57:59 +0200
commit67db22fcae32c8a8014866ef2ee55b6c7733c3f9 (patch)
treec5f9cee0c2c7b94e02cbb8d5efe3ed91872ec8f9 /libbuild2/cc/pkgconfig.cxx
parent388b94567f3136d1370b37610081c5465a74bdb7 (diff)
Complete process_libraries() duplicate suppression work
Diffstat (limited to 'libbuild2/cc/pkgconfig.cxx')
-rw-r--r--libbuild2/cc/pkgconfig.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/libbuild2/cc/pkgconfig.cxx b/libbuild2/cc/pkgconfig.cxx
index 17cc2dc..9177dbb 100644
--- a/libbuild2/cc/pkgconfig.cxx
+++ b/libbuild2/cc/pkgconfig.cxx
@@ -1710,9 +1710,10 @@ namespace build2
//
linfo li {otype::e, la ? lorder::a_s : lorder::s_a};
+ library_cache lib_cache;
process_libraries (a, bs, li, sys_lib_dirs,
l, la, 0, // Link flags.
- imp, lib, opt, !binless);
+ imp, lib, opt, !binless /* self */, &lib_cache);
for (const string& a: args)
os << ' ' << a;
@@ -1727,7 +1728,7 @@ namespace build2
priv = true;
process_libraries (a, bs, li, sys_lib_dirs,
l, la, 0, // Link flags.
- imp, lib, opt, false);
+ imp, lib, opt, false /* self */, &lib_cache);
for (const string& a: args)
os << ' ' << a;