summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-03-20 10:28:59 -0400
committermidipix <writeonce@midipix.org>2016-03-20 10:28:59 -0400
commitba3523b6bcb3322f666b755924138423d2d77760 (patch)
tree4dc8b8129e01c7c4c507086dfcc9c5f08fd74f7b
parentdf1a81c265571b153d26b68c28f5a7791c91547c (diff)
downloadslibtool-ba3523b6bcb3322f666b755924138423d2d77760.tar.bz2
slibtool-ba3523b6bcb3322f666b755924138423d2d77760.tar.xz
utility: output: added slbt_output_link().
-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");
+}