Redfoxmoon / cross / slibtool

Forked from cross/slibtool a year ago
Clone

723ef0 link mode: always create the .libs directory (removed test: compile mode only).

Authored and Committed by midipix 8 years ago
    link mode: always create the .libs directory (removed test: compile mode only).
    
        
file modified
+4 -5
src/logic/slbt_exec_link.c CHANGED
@@ -1065,11 +1065,10 @@ int slbt_exec_link(
1065
1065
dot = strrchr(output,'.');
1066
1066
1067
1067
/* .libs directory */
1068
- if (dctx->cctx->drvflags & SLBT_DRIVER_SHARED)
1069
- if (slbt_mkdir(ectx->ldirname)) {
1070
- slbt_free_exec_ctx(actx);
1071
- return -1;
1068
+ if (slbt_mkdir(ectx->ldirname)) {
1069
+ slbt_free_exec_ctx(actx);
1070
+ return -1;
1071
+ }
1072
- }
1073
1072
1074
1073
/* non-pic libfoo.a */
1075
1074
if (dot && !strcmp(dot,".a"))