forked from ariadne/pkgconf
Merge pull request 'cli: use Requires.private when cflags are requested' (#243) from psykose/pkgconf:cflags-i into master
Reviewed-on: ariadne/pkgconf#243master
commit
78f00da130
|
@ -1141,6 +1141,11 @@ main(int argc, char *argv[])
|
||||||
want_client_flags |= PKGCONF_PKG_PKGF_SEARCH_PRIVATE;
|
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)
|
if ((sysroot_dir = getenv("PKG_CONFIG_SYSROOT_DIR")) != NULL)
|
||||||
{
|
{
|
||||||
const char *destdir;
|
const char *destdir;
|
||||||
|
|
Loading…
Reference in New Issue