diff options
Diffstat (limited to 'src/logic/slbt_exec_link.c')
-rw-r--r-- | src/logic/slbt_exec_link.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/logic/slbt_exec_link.c b/src/logic/slbt_exec_link.c index 2ffb6ad..5e42861 100644 --- a/src/logic/slbt_exec_link.c +++ b/src/logic/slbt_exec_link.c @@ -1765,8 +1765,9 @@ int slbt_exec_link( /* .libs directory */ if (slbt_mkdir(dctx,ectx->ldirname)) { + ret = SLBT_SYSTEM_ERROR(dctx,ectx->ldirname); slbt_free_exec_ctx(actx); - return SLBT_SYSTEM_ERROR(dctx,ectx->ldirname); + return ret; } /* non-pic libfoo.a */ |