summaryrefslogtreecommitdiff
path: root/src/logic
diff options
context:
space:
mode:
Diffstat (limited to 'src/logic')
-rw-r--r--src/logic/slbt_exec_link.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/logic/slbt_exec_link.c b/src/logic/slbt_exec_link.c
index 6e3268d..bce8147 100644
--- a/src/logic/slbt_exec_link.c
+++ b/src/logic/slbt_exec_link.c
@@ -788,6 +788,10 @@ static int slbt_exec_link_create_archive(
char arfile [PATH_MAX];
char arlink [PATH_MAX];
+ /* -disable-static? */
+ if (dctx->cctx->drvflags & SLBT_DRIVER_DISABLE_STATIC)
+ return 0;
+
/* initial state */
slbt_reset_arguments(ectx);