diff options
-rw-r--r-- | include/slibtool/slibtool.h | 1 | ||||
-rw-r--r-- | src/output/slbt_output_exec.c | 7 |
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) |