summaryrefslogtreecommitdiffhomepage
path: root/src/logic
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-04-03 13:25:28 -0400
committermidipix <writeonce@midipix.org>2016-04-03 13:25:28 -0400
commit5fff2735d5305fddfaf64b37b4ad395823003d85 (patch)
tree7f03d3f68273902c047f90d70049fa1d418a0470 /src/logic
parenta0c318b083f7e44049838b16c79c186617cd923e (diff)
downloadslibtool-5fff2735d5305fddfaf64b37b4ad395823003d85.tar.bz2
slibtool-5fff2735d5305fddfaf64b37b4ad395823003d85.tar.xz
link mode: wrapper-based archive creation: account for -shared and -static.
Diffstat (limited to 'src/logic')
-rw-r--r--src/logic/slbt_exec_link.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logic/slbt_exec_link.c b/src/logic/slbt_exec_link.c
index 53724c4..9f986ff 100644
--- a/src/logic/slbt_exec_link.c
+++ b/src/logic/slbt_exec_link.c
@@ -233,7 +233,7 @@ int slbt_exec_link(
if (slbt_exec_link_create_archive(
dctx,ectx,
ectx->arfilename,
- true)) {
+ dctx->cctx->drvflags & SLBT_DRIVER_SHARED)) {
slbt_free_exec_ctx(actx);
return -1;
}