struct ccan_file *i;
/* Other CCAN deps. */
- list_for_each(&m->dep_objs, i, list)
- list = talloc_asprintf_append(list, "%s ", i->name);
-
+ list_for_each(&m->dep_dirs, i, list) {
+ if (i->compiled)
+ list = talloc_asprintf_append(list, "%s ", i->compiled);
+ }
return list;
}
return ret;
}
-static void *check_use_build(struct manifest *m)
+static void *check_use_build(struct manifest *m, unsigned int *timeleft)
{
char *contents;
char *tmpfile, *err;
}
struct ccanlint check_build = {
- .key = "check-build",
- .name = "Module can be used",
+ .key = "check-link",
+ .name = "Module can be linked against trivial program",
.total_score = 1,
.check = check_use_build,
.describe = describe_use_build,