From 90b65c866bbb63fb1b867d11d7ff0b180855c65e Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Sat, 21 Jan 2023 21:31:16 +0000 Subject: [PATCH] main: use flattened solution for cflags/libs only --- cli/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/main.c b/cli/main.c index cff22e6..34ca172 100644 --- a/cli/main.c +++ b/cli/main.c @@ -1456,7 +1456,7 @@ cleanup3: 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)) @@ -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))