From c67c37e8d251b77cd6827ebfaae6f298f1a7b81a Mon Sep 17 00:00:00 2001 From: Joey Adams Date: Tue, 8 Mar 2011 10:50:20 +1030 Subject: [PATCH] tools: Added "-I." to fix ccan_depends --compile (Patched forward by Rusty) --- tools/depends.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/depends.c b/tools/depends.c index ca1b6fc8..870f1e49 100644 --- a/tools/depends.c +++ b/tools/depends.c @@ -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; -- 2.39.2