main: call pkg_traverse with PKGF_SEARCH_PRIVATE if --cflags is requested.

pull/4/head
William Pitcock 2012-05-02 21:48:23 +00:00
parent 38f3dc78a9
commit 8f8ed9b60a
1 changed files with 1 additions and 1 deletions

2
main.c
View File

@ -218,7 +218,7 @@ pkg_queue_walk(pkg_queue_t *head)
if (want_cflags)
{
wanted_something++;
pkg_traverse(&world, print_cflags, NULL, maximum_traverse_depth, PKGF_NONE);
pkg_traverse(&world, print_cflags, NULL, maximum_traverse_depth, PKGF_SEARCH_PRIVATE);
}
if (want_libs)