mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-26 20:02:30 +01:00
17 lines
408 B
Diff
17 lines
408 B
Diff
diff --git a/cli/main.c b/cli/main.c
|
|
index 50215fb..5ed2bea 100644
|
|
--- a/cli/main.c
|
|
+++ b/cli/main.c
|
|
@@ -1141,6 +1141,11 @@ main(int argc, char *argv[])
|
|
want_client_flags |= PKGCONF_PKG_PKGF_SEARCH_PRIVATE;
|
|
}
|
|
|
|
+ if ((want_flags & PKG_CFLAGS))
|
|
+ {
|
|
+ want_client_flags |= PKGCONF_PKG_PKGF_SEARCH_PRIVATE;
|
|
+ }
|
|
+
|
|
if ((sysroot_dir = getenv("PKG_CONFIG_SYSROOT_DIR")) != NULL)
|
|
{
|
|
const char *destdir;
|