diff options
author | midipix <writeonce@midipix.org> | 2016-05-08 07:39:18 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-05-08 07:48:07 -0400 |
commit | 723ef01a4680e1062cb52c5c579443657ac53861 (patch) | |
tree | 5eac22558c73faa21d98736bdbb5761fc9aa06b6 /src/logic | |
parent | a6544253fd2f1b0a25aed2ec548db2ba02fea4c1 (diff) | |
download | slibtool-723ef01a4680e1062cb52c5c579443657ac53861.tar.bz2 slibtool-723ef01a4680e1062cb52c5c579443657ac53861.tar.xz |
link mode: always create the .libs directory (removed test: compile mode only).
Diffstat (limited to 'src/logic')
-rw-r--r-- | src/logic/slbt_exec_link.c | 9 |
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")) |