summaryrefslogtreecommitdiffhomepage
path: root/src/slibtool.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/slibtool.c')
-rw-r--r--src/slibtool.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/slibtool.c b/src/slibtool.c
index dfc57e2..21b80dc 100644
--- a/src/slibtool.c
+++ b/src/slibtool.c
@@ -29,6 +29,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_LINK)
+ dctx->nerrors += (slbt_exec_link(dctx,0) < 0);
}
static void slibtool_perform_unit_actions(struct slbt_unit_ctx * uctx)