/* Other CCAN deps. */
list_for_each(&m->deps, i, list) {
- if (i->compiled)
+ if (i->compiled[COMPILE_NORMAL])
list = talloc_asprintf_append(list, "%s ",
- i->compiled);
+ i->compiled
+ [COMPILE_NORMAL]);
}
return list;
}
static char *lib_list(const struct manifest *m)
{
unsigned int i, num;
- char **libs = get_libs(m, ".", &num, &m->info_file->compiled);
+ char **libs = get_libs(m, ".",
+ &num, &m->info_file->compiled[COMPILE_NORMAL]);
char *ret = talloc_strdup(m, "");
for (i = 0; i < num; i++)
err(1, "Failure writing to temporary file %s", tmpfile);
close(fd);
- if (compile_and_link(score, tmpfile, ccan_dir, obj_list(m), "",
- lib_list(m),
+ if (compile_and_link(score, tmpfile, ccan_dir, obj_list(m),
+ compiler, cflags, lib_list(m),
maybe_temp_file(m, "", keep, tmpfile),
&cmdout)) {
score->pass = true;