forked from ariadne/pkgconf
pkg: if PKGF_SEARCH_PRIVATE is requested, search root::requires_private graph entries too
parent
5ea52d4cae
commit
38f3dc78a9
3
pkg.c
3
pkg.c
|
@ -345,6 +345,9 @@ pkg_traverse(pkg_t *root,
|
||||||
|
|
||||||
pkg_walk_list(root, root->requires, pkg_traverse_func, data, maxdepth - 1, flags);
|
pkg_walk_list(root, root->requires, pkg_traverse_func, data, maxdepth - 1, flags);
|
||||||
|
|
||||||
|
if (flags & PKGF_SEARCH_PRIVATE)
|
||||||
|
pkg_walk_list(root, root->requires_private, pkg_traverse_func, data, maxdepth - 1, flags);
|
||||||
|
|
||||||
if (pkg_traverse_func != NULL)
|
if (pkg_traverse_func != NULL)
|
||||||
pkg_traverse_func(root, data);
|
pkg_traverse_func(root, data);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue