diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2022-03-30 14:12:34 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2022-03-30 14:15:16 +0200 |
commit | 05135e5f7bd152db293bbe67f394bb58309856e9 (patch) | |
tree | fb8575351c80b44b4fdc16b9e95a48e67081c40e /libbuild2/cc/common.cxx | |
parent | 441c75f68ca1adfcf833ae778ac150baf16ded2f (diff) |
Infrastructure for library metadata support
Diffstat (limited to 'libbuild2/cc/common.cxx')
-rw-r--r-- | libbuild2/cc/common.cxx | 9 |
1 files changed, 7 insertions, 2 deletions
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 |