summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-04-30 15:36:52 -0400
committermidipix <writeonce@midipix.org>2016-04-30 15:43:38 -0400
commit87ab8bd0c14ea337290300b1b16d4dc0eca6ede9 (patch)
tree5a03b26c323f677b8c7201082512fbdf0f6d236d
parente956c85f08020ed4048ff1d9fe16750f2d08ad87 (diff)
downloadslibtool-87ab8bd0c14ea337290300b1b16d4dc0eca6ede9.tar.bz2
slibtool-87ab8bd0c14ea337290300b1b16d4dc0eca6ede9.tar.xz
utility: execute mode: initial integration.
-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);