summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-04-30 14:42:09 -0400
committermidipix <writeonce@midipix.org>2016-04-30 15:43:33 -0400
commit045b885d9f005157d8c2911f4b2f0e5256d7d30b (patch)
tree6ef913b356da70070ef9c92aaa11a8ec89e155a8
parente9dbdf19b64af1560a24221c47cd7305bf0b23ed (diff)
downloadslibtool-045b885d9f005157d8c2911f4b2f0e5256d7d30b.tar.bz2
slibtool-045b885d9f005157d8c2911f4b2f0e5256d7d30b.tar.xz
utility: output: added slbt_output_execute().
-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 5f4955b..f03155a 100644
--- a/include/slibtool/slibtool.h
+++ b/include/slibtool/slibtool.h
@@ -258,6 +258,7 @@ slbt_api int slbt_dump_machine (const char * compiler, char * machine, size_t
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_execute (const struct slbt_driver_ctx *, const struct slbt_exec_ctx *);
slbt_api int slbt_output_install (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 *);
diff --git a/src/output/slbt_output_exec.c b/src/output/slbt_output_exec.c
index 5adb4bb..e75a9d7 100644
--- a/src/output/slbt_output_exec.c
+++ b/src/output/slbt_output_exec.c
@@ -102,6 +102,13 @@ int slbt_output_compile(
return slbt_output_exec(dctx,ectx,"compile");
}
+int slbt_output_execute(
+ const struct slbt_driver_ctx * dctx,
+ const struct slbt_exec_ctx * ectx)
+{
+ return slbt_output_exec(dctx,ectx,"execute");
+}
+
int slbt_output_install(
const struct slbt_driver_ctx * dctx,
const struct slbt_exec_ctx * ectx)