summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Adams <joeyadams3.14159@gmail.com>2011-03-08 10:50:20 +1030
committerRusty Russell <rusty@rustcorp.com.au>2011-03-08 10:50:20 +1030
commitc67c37e8d251b77cd6827ebfaae6f298f1a7b81a (patch)
tree33ce98f6ff1194298ee961da358f6e3db974f2ac
parent376edd78d31c1c542e19ae896006cd17ccb459f0 (diff)
tools: Added "-I." to fix ccan_depends --compile
(Patched forward by Rusty)
-rw-r--r--tools/depends.c2
1 files changed, 1 insertions, 1 deletions
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;