forked from ariadne/pkgconf
queue: ensure private deps get flattened when --static is requested
parent
03ba00d30b
commit
79d25f979d
|
@ -116,8 +116,6 @@ pkgconf_queue_collect_dependents(pkgconf_client_t *client, pkgconf_pkg_t *pkg, v
|
||||||
if (pkg == world)
|
if (pkg == world)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (!(pkg->flags & PKGCONF_PKG_PKGF_SEARCH_PRIVATE))
|
|
||||||
{
|
|
||||||
PKGCONF_FOREACH_LIST_ENTRY(pkg->required.head, node)
|
PKGCONF_FOREACH_LIST_ENTRY(pkg->required.head, node)
|
||||||
{
|
{
|
||||||
pkgconf_dependency_t *flattened_dep;
|
pkgconf_dependency_t *flattened_dep;
|
||||||
|
@ -126,8 +124,8 @@ pkgconf_queue_collect_dependents(pkgconf_client_t *client, pkgconf_pkg_t *pkg, v
|
||||||
|
|
||||||
pkgconf_node_insert(&flattened_dep->iter, flattened_dep, &world->required);
|
pkgconf_node_insert(&flattened_dep->iter, flattened_dep, &world->required);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
else
|
if (client->flags & PKGCONF_PKG_PKGF_SEARCH_PRIVATE)
|
||||||
{
|
{
|
||||||
PKGCONF_FOREACH_LIST_ENTRY(pkg->requires_private.head, node)
|
PKGCONF_FOREACH_LIST_ENTRY(pkg->requires_private.head, node)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue