723ef0
link mode: always create the .libs directory (removed test: compile mode only).
@@ -1065,11 +1065,10 @@ int slbt_exec_link(
|
|
1065
1065
|
dot = strrchr(output,'.');
|
1066
1066
|
|
1067
1067
|
/* .libs directory */
|
1068
|
-
if (
|
1069
|
-
|
1070
|
-
|
1071
|
-
|
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"))
|