]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/compulsory_tests/check_build.c
ccanlint: make sure fullname is always full path name.
[ccan] / tools / ccanlint / compulsory_tests / check_build.c
index 2098f0d2a488212f2079e40ffc45d4ca48efe49e..5031cf84d4b8e40eff63aa4d22042a629dbfe22b 100644 (file)
@@ -27,9 +27,10 @@ static char *obj_list(const struct manifest *m)
        struct ccan_file *i;
 
        /* Other CCAN deps. */
-       list_for_each(&m->dep_objs, i, list)
-               list = talloc_asprintf_append(list, "%s ", i->name);
-
+       list_for_each(&m->dep_dirs, i, list) {
+               if (i->compiled)
+                       list = talloc_asprintf_append(list, "%s ", i->compiled);
+       }
        return list;
 }