summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/slibtool/slibtool.h1
-rw-r--r--src/output/slbt_output_exec.c7
2 files changed, 8 insertions, 0 deletions
diff --git a/include/slibtool/slibtool.h b/include/slibtool/slibtool.h
index a987a40..cd5caa3 100644
--- a/include/slibtool/slibtool.h
+++ b/include/slibtool/slibtool.h
@@ -188,6 +188,7 @@ slbt_api int slbt_unmap_input (struct slbt_input *);
slbt_api int slbt_output_config (const struct slbt_driver_ctx *);
slbt_api int slbt_output_exec (const struct slbt_driver_ctx *, const struct slbt_exec_ctx *, const char *);
slbt_api int slbt_output_compile (const struct slbt_driver_ctx *, const struct slbt_exec_ctx *);
+slbt_api int slbt_output_link (const struct slbt_driver_ctx *, const struct slbt_exec_ctx *);
#ifdef __cplusplus
}
diff --git a/src/output/slbt_output_exec.c b/src/output/slbt_output_exec.c
index 62b15cc..e0df34a 100644
--- a/src/output/slbt_output_exec.c
+++ b/src/output/slbt_output_exec.c
@@ -33,3 +33,10 @@ int slbt_output_compile(
{
return slbt_output_exec(dctx,ectx,"compile");
}
+
+int slbt_output_link(
+ const struct slbt_driver_ctx * dctx,
+ const struct slbt_exec_ctx * ectx)
+{
+ return slbt_output_exec(dctx,ectx,"link");
+}