Browse Source

tools: Added "-I." to fix ccan_depends --compile

(Patched forward by Rusty)
Joey Adams 15 years ago
parent
commit
c67c37e8d2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tools/depends.c

+ 1 - 1
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;