- if (!compile_and_link(m, tmpfile, ccan_dir, obj_list(m), "",
- lib_list(m), &err))
- return err;
- return NULL;
-}
-
-static const char *describe_use_build(struct manifest *m, void *check_result)
-{
- return talloc_asprintf(check_result,
- "Linking against module:\n"
- "%s", (char *)check_result);
+ score->error = compile_and_link(m, tmpfile, ccan_dir, obj_list(m), "",
+ lib_list(m),
+ maybe_temp_file(m, "", keep, tmpfile));
+ if (!score->error) {
+ score->pass = true;
+ score->score = score->total;
+ }