summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/logic/slbt_exec_ctx.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/logic/slbt_exec_ctx.c b/src/logic/slbt_exec_ctx.c
index e6fd248..71ab70a 100644
--- a/src/logic/slbt_exec_ctx.c
+++ b/src/logic/slbt_exec_ctx.c
@@ -11,6 +11,7 @@
#include <slibtool/slibtool.h>
#include "slibtool_driver_impl.h"
+#include "slibtool_mkdir_impl.h"
#include "slibtool_linkcmd_impl.h"
#include "slibtool_errinfo_impl.h"
#include "slibtool_ar_impl.h"
@@ -635,6 +636,13 @@ int slbt_ectx_get_exec_ctx(
dlactxv++;
}
+ if (slbt_mkdir(dctx,ictx->ctx.ldirname) < 0)
+ return slbt_ectx_free_exec_ctx_impl(
+ ictx,
+ SLBT_SYSTEM_ERROR(
+ dctx,
+ ictx->ctx.ldirname));
+
if (slbt_ar_create_dlsyms(
ictx->dlactxv,
ictx->ctx.dlunit,