summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/slibtool.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/slibtool.c b/src/slibtool.c
index 42d604f..79e6f0e 100644
--- a/src/slibtool.c
+++ b/src/slibtool.c
@@ -54,6 +54,9 @@ static void slibtool_perform_driver_actions(struct slbt_driver_ctx * dctx)
if (dctx->cctx->mode == SLBT_MODE_COMPILE)
dctx->nerrors += (slbt_exec_compile(dctx,0) < 0);
+ if (dctx->cctx->mode == SLBT_MODE_EXECUTE)
+ dctx->nerrors += (slbt_exec_execute(dctx,0) < 0);
+
if (dctx->cctx->mode == SLBT_MODE_INSTALL)
dctx->nerrors += (slbt_exec_install(dctx,0) < 0);