From d7424090a87cc847c2b9c1f67f06970ddc0adca0 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 1 Jul 2022 11:39:42 +0200 Subject: 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. --- libbuild2/cc/pkgconfig.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'libbuild2') 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 -- cgit v1.1