]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/tests/compile_tests.c
More test fixes.
[ccan] / tools / ccanlint / tests / compile_tests.c
index c8f303b797844f2141173c325778243fa855d6be..57c257a2d828de68c1306dcfd1bcfbf2fe22097d 100644 (file)
@@ -39,6 +39,10 @@ static char *obj_list(const struct manifest *m, bool link_with_module)
        if (link_with_module)
                list = talloc_asprintf_append(list, " ../%s.o", m->basename);
 
        if (link_with_module)
                list = talloc_asprintf_append(list, " ../%s.o", m->basename);
 
+       /* Other ccan modules. */
+       list_for_each(&m->dep_objs, i, list)
+               list = talloc_asprintf_append(list, " %s", i->name);
+
        return list;
 }
 
        return list;
 }