]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/tests/depends_exist.c
ccanlint: --deps-fail-ignore.
[ccan] / tools / ccanlint / tests / depends_exist.c
index f69a08e432b4a91951f79c23735c11a1705e384b..09c187e98f54ccefb01c6072be479fce72784d93 100644 (file)
@@ -63,8 +63,10 @@ static void check_depends_exist(struct manifest *m,
        }
 
        for (i = 0; deps[i]; i++) {
-               if (!strstarts(deps[i], "ccan/"))
+               if (!strstarts(deps[i], "ccan/")) {
+                       non_ccan_deps = true;
                        continue;
+               }
 
                if (!add_dep(m, &m->deps, deps[i], score))
                        return;