X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Fccanlint%2Ftests%2Ftests_compile.c;fp=tools%2Fccanlint%2Ftests%2Ftests_compile.c;h=3114f2f1bc6de31ea7b7afdf4a382a36cfdde72e;hp=733aebdb88d1b7d0a977f1285523ecb878fb32ea;hb=199023653cd6020218fbc4d0712591fc7ee0c5e1;hpb=1842f55199e6a5da273ca21b6fbe8afa6ecdfe11 diff --git a/tools/ccanlint/tests/tests_compile.c b/tools/ccanlint/tests/tests_compile.c index 733aebdb..3114f2f1 100644 --- a/tools/ccanlint/tests/tests_compile.c +++ b/tools/ccanlint/tests/tests_compile.c @@ -58,7 +58,7 @@ char *lib_list(const struct manifest *m, enum compile_type ctype) char **libs; char *ret = talloc_strdup(m, ""); - libs = get_libs(m, m->dir, true, get_or_compile_info); + libs = get_libs(m, m->dir, "depends", get_or_compile_info); for (i = 0; libs[i]; i++) ret = talloc_asprintf_append(ret, "-l%s ", libs[i]); return ret;