summaryrefslogtreecommitdiffhomepage
path: root/src/slibtool.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-03-20 11:24:04 -0400
committermidipix <writeonce@midipix.org>2016-03-20 11:24:04 -0400
commit583c0a2be1ec2dea2e3362bbc09b42eeb2817d6e (patch)
tree8070bf2151e34ab5cbb32ec2a00d604cea079541 /src/slibtool.c
parent2bd7498431c7e7bf4eedc5ccbb333c06893d4089 (diff)
downloadslibtool-583c0a2be1ec2dea2e3362bbc09b42eeb2817d6e.tar.bz2
slibtool-583c0a2be1ec2dea2e3362bbc09b42eeb2817d6e.tar.xz
utility: link mode: initial integration.
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)