diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2022-07-01 11:39:42 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2022-07-01 11:39:42 +0200 |
commit | d7424090a87cc847c2b9c1f67f06970ddc0adca0 (patch) | |
tree | e9253a5221332647348c40c781e95a1868b0228d /libbuild2 | |
parent | 30af663dfc7f152e208962fc033d46bd4c7b7cb2 (diff) |
Ignore Provides when loading pkg-config information
Without this flag, on encountering an unknown package, libpkgconf will
load *all* pkg-config files it can find in order to see if any of them
provide it.
Diffstat (limited to 'libbuild2')
-rw-r--r-- | libbuild2/cc/pkgconfig.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libbuild2/cc/pkgconfig.cxx b/libbuild2/cc/pkgconfig.cxx index de7cc73..8b064d1 100644 --- a/libbuild2/cc/pkgconfig.cxx +++ b/libbuild2/cc/pkgconfig.cxx @@ -180,6 +180,7 @@ namespace build2 // static const int pkgconf_flags = PKGCONF_PKG_PKGF_SIMPLIFY_ERRORS + | PKGCONF_PKG_PKGF_SKIP_PROVIDES #ifdef PKGCONF_PKG_PKGF_DONT_MERGE_SPECIAL_FRAGMENTS | PKGCONF_PKG_PKGF_DONT_MERGE_SPECIAL_FRAGMENTS #endif |