From: Rusty Russell Date: Mon, 12 Nov 2012 06:37:50 +0000 (+1030) Subject: grab_file: move ccan/str_alloc to testdepends X-Git-Url: http://git.ozlabs.org/?p=ccan;a=commitdiff_plain;h=8fb61c1e58556fbdb98333fb7746907774d951cb;hp=02bc230bf9f08a7941b571358f115893b2b6d786;ds=sidebyside grab_file: move ccan/str_alloc to testdepends Signed-off-by: Rusty Russell --- diff --git a/ccan/grab_file/_info b/ccan/grab_file/_info index 5bae7a56..1f6e00d7 100644 --- a/ccan/grab_file/_info +++ b/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; }