]> git.ozlabs.org Git - ccan/blobdiff - tools/depends.c
tools: Added "-I." to fix ccan_depends --compile
[ccan] / tools / depends.c
index ca1b6fc88b0f893814cb279f26b8ec4be3e77e9b..870f1e49dd7618073a6b97762c799f819698a891 100644 (file)
@@ -63,7 +63,7 @@ static char *compile_info(const void *ctx, const char *dir)
 
        compiled = maybe_temp_file(ctx, "", false, "info");
        if (compile_and_link(ctx, info_c_file, ccandir, "",
-                            CCAN_COMPILER, CCAN_CFLAGS, "",
+                            CCAN_COMPILER, CCAN_CFLAGS " -I.", "",
                             compiled, &output))
                return compiled;
        return NULL;