summaryrefslogtreecommitdiff
path: root/src/slibtool.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-04-09 11:14:27 -0400
committermidipix <writeonce@midipix.org>2016-04-09 19:01:07 -0400
commit258073e76ddf4030ff9d6385caf6af7d0c609a3f (patch)
tree562ec12e39eb9beb79a2472bec6ce98c208420e0 /src/slibtool.c
parentdc77cbe66029a7e925c1d7299be7dfc04d4c263e (diff)
downloadslibtool-258073e76ddf4030ff9d6385caf6af7d0c609a3f.tar.bz2
slibtool-258073e76ddf4030ff9d6385caf6af7d0c609a3f.tar.xz
install mode: initial implementation and 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 21b80dc..9ac8ef2 100644
--- a/src/slibtool.c
+++ b/src/slibtool.c
@@ -30,6 +30,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_INSTALL)
+ dctx->nerrors += (slbt_exec_install(dctx,0) < 0);
+
if (dctx->cctx->mode == SLBT_MODE_LINK)
dctx->nerrors += (slbt_exec_link(dctx,0) < 0);
}