main: traverse up to 3 levels for variable search
parent
0737a72070
commit
8ff4ae5b16
4
main.c
4
main.c
|
@ -305,7 +305,7 @@ pkg_queue_walk(pkg_queue_t *head)
|
||||||
want_cflags = 0;
|
want_cflags = 0;
|
||||||
want_libs = 0;
|
want_libs = 0;
|
||||||
|
|
||||||
pkg_traverse(&world, print_variables, NULL, 2, global_traverse_flags);
|
pkg_traverse(&world, print_variables, NULL, 3, global_traverse_flags);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (want_requires)
|
if (want_requires)
|
||||||
|
@ -363,7 +363,7 @@ pkg_queue_walk(pkg_queue_t *head)
|
||||||
if (want_variable)
|
if (want_variable)
|
||||||
{
|
{
|
||||||
wanted_something++;
|
wanted_something++;
|
||||||
pkg_traverse(&world, print_variable, NULL, 2, global_traverse_flags);
|
pkg_traverse(&world, print_variable, NULL, 3, global_traverse_flags);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (wanted_something)
|
if (wanted_something)
|
||||||
|
|
Loading…
Reference in New Issue