summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/logic/slbt_exec_link.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/logic/slbt_exec_link.c b/src/logic/slbt_exec_link.c
index 2f57a79..b47bbc1 100644
--- a/src/logic/slbt_exec_link.c
+++ b/src/logic/slbt_exec_link.c
@@ -1481,6 +1481,9 @@ int slbt_exec_link(
} else if (dctx->cctx->drvflags & SLBT_DRIVER_DISABLE_SHARED) {
fstaticonly = true;
fpic = false;
+ } else if (dctx->cctx->drvflags & SLBT_DRIVER_DISABLE_STATIC) {
+ fstaticonly = false;
+ fpic = true;
} else if (dctx->cctx->drvflags & SLBT_DRIVER_SHARED) {
fstaticonly = false;
fpic = true;