]> git.ozlabs.org Git - ccan/blobdiff - ccan/grab_file/_info
grab_file: move ccan/str_alloc to testdepends
[ccan] / ccan / grab_file / _info
index 5bae7a566b5c875f2707eea8dc728399acaa96fc..1f6e00d73067d7fb94fc1d0130b4ee3d67dd0499 100644 (file)
@@ -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;
 }