summaryrefslogtreecommitdiff
path: root/src/logic
diff options
context:
space:
mode:
Diffstat (limited to 'src/logic')
-rw-r--r--src/logic/slbt_exec_link.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/logic/slbt_exec_link.c b/src/logic/slbt_exec_link.c
index fe73cf3..d2cda06 100644
--- a/src/logic/slbt_exec_link.c
+++ b/src/logic/slbt_exec_link.c
@@ -1065,11 +1065,10 @@ int slbt_exec_link(
dot = strrchr(output,'.');
/* .libs directory */
- if (dctx->cctx->drvflags & SLBT_DRIVER_SHARED)
- if (slbt_mkdir(ectx->ldirname)) {
- slbt_free_exec_ctx(actx);
- return -1;
- }
+ if (slbt_mkdir(ectx->ldirname)) {
+ slbt_free_exec_ctx(actx);
+ return -1;
+ }
/* non-pic libfoo.a */
if (dot && !strcmp(dot,".a"))