From: Joey Adams Date: Tue, 8 Mar 2011 00:20:20 +0000 (+1030) Subject: tools: Added "-I." to fix ccan_depends --compile X-Git-Url: https://git.ozlabs.org/?p=ccan;a=commitdiff_plain;h=c67c37e8d251b77cd6827ebfaae6f298f1a7b81a;ds=sidebyside tools: Added "-I." to fix ccan_depends --compile (Patched forward by Rusty) --- 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;