main: use flattened solution for cflags/libs only

pull/249/head
Ariadne Conill 2023-01-21 21:31:16 +00:00
parent 1ce000f397
commit 90b65c866b
1 changed files with 2 additions and 2 deletions

View File

@ -1456,7 +1456,7 @@ cleanup3:
if ((want_flags & PKG_CFLAGS)) if ((want_flags & PKG_CFLAGS))
{ {
apply_cflags(&pkg_client, &world, NULL, maximum_traverse_depth); apply_cflags(&pkg_client, &world, NULL, 2);
} }
if ((want_flags & PKG_LIBS)) if ((want_flags & PKG_LIBS))
@ -1479,7 +1479,7 @@ cleanup3:
} }
} }
apply_libs(&pkg_client, &world, NULL, maximum_traverse_depth); apply_libs(&pkg_client, &world, NULL, 2);
} }
if (want_flags & (PKG_CFLAGS|PKG_LIBS)) if (want_flags & (PKG_CFLAGS|PKG_LIBS))