Compare commits

...

2 Commits

Author SHA1 Message Date
Ariadne Conill 78f00da130 Merge pull request 'cli: use Requires.private when cflags are requested' (#243) from psykose/pkgconf:cflags-i into master
ci/woodpecker/push/woodpecker Pipeline was successful Details
Reviewed-on: #243
2022-08-11 13:49:44 +00:00
psykose 746005582f
cli: use Requires.private when cflags are requested
ci/woodpecker/pr/woodpecker Pipeline was successful Details
2022-08-11 15:47:32 +02:00
1 changed files with 5 additions and 0 deletions

View File

@ -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;