]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/tests/depends_exist.c
tools: more intelligent caching for compile _info.
[ccan] / tools / ccanlint / tests / depends_exist.c
index 27bbfc4ed0f2c28a13868fba99987c2c4b9463b7..7712c48d1847738e903200bbd2dc9c106e09750d 100644 (file)
@@ -57,8 +57,7 @@ static void check_depends_exist(struct manifest *m,
        if (safe_mode)
                deps = get_safe_ccan_deps(m, m->dir, true);
        else
        if (safe_mode)
                deps = get_safe_ccan_deps(m, m->dir, true);
        else
-               deps = get_deps(m, m->dir, true,
-                               &m->info_file->compiled[COMPILE_NORMAL]);
+               deps = get_deps(m, m->dir, true, get_or_compile_info);
 
        for (i = 0; deps[i]; i++) {
                if (!strstarts(deps[i], "ccan/"))
 
        for (i = 0; deps[i]; i++) {
                if (!strstarts(deps[i], "ccan/"))