Browse Source

grab_file: move ccan/str_alloc to testdepends

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Rusty Russell 13 years ago
parent
commit
8fb61c1e58
1 changed files with 4 additions and 1 deletions
  1. 4 1
      ccan/grab_file/_info

+ 4 - 1
ccan/grab_file/_info

@@ -44,11 +44,14 @@ int main(int argc, char *argv[])
 		return 1;
 
 	if (strcmp(argv[1], "depends") == 0) {
-		printf("ccan/str_talloc\n"); /* Needed for tests. */
 		printf("ccan/talloc\n");
 		printf("ccan/noerr\n");
 		return 0;
 	}
+	if (strcmp(argv[1], "testdepends") == 0) {
+		printf("ccan/str_talloc\n");
+		return 0;
+	}
 
 	return 1;
 }