From 05135e5f7bd152db293bbe67f394bb58309856e9 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 30 Mar 2022 14:12:34 +0200 Subject: Infrastructure for library metadata support --- libbuild2/cc/common.cxx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'libbuild2/cc/common.cxx') diff --git a/libbuild2/cc/common.cxx b/libbuild2/cc/common.cxx index 97ac6b8..787ba69 100644 --- a/libbuild2/cc/common.cxx +++ b/libbuild2/cc/common.cxx @@ -1211,14 +1211,19 @@ namespace build2 if (!pkgconfig_load (act, *p.scope, *lt, a, s, p.proj, name, - *pd, sysd, *usrd)) + *pd, sysd, *usrd, + false /* metadata */)) { if (a != nullptr) add_macro (*a, "STATIC"); if (s != nullptr) add_macro (*s, "SHARED"); } } else - pkgconfig_load (act, *p.scope, *lt, a, s, pc, *pd, sysd, *usrd); + pkgconfig_load (act, *p.scope, + *lt, a, s, + pc, + *pd, sysd, *usrd, + false /* metadata */); } // If we have the lock (meaning this is the first time), set the matched -- cgit v1.1