forked from ariadne/pkgconf
cli: do not search requires.private for --libs unless --static
parent
69f630aadc
commit
4e449bd45f
|
@ -1461,6 +1461,9 @@ cleanup3:
|
||||||
|
|
||||||
if ((want_flags & PKG_LIBS))
|
if ((want_flags & PKG_LIBS))
|
||||||
{
|
{
|
||||||
|
if (!(want_flags & PKG_STATIC))
|
||||||
|
pkgconf_client_set_flags(&pkg_client, pkg_client.flags & ~PKGCONF_PKG_PKGF_SEARCH_PRIVATE);
|
||||||
|
|
||||||
apply_libs(&pkg_client, &world, NULL, maximum_traverse_depth);
|
apply_libs(&pkg_client, &world, NULL, maximum_traverse_depth);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue