summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/arbits/slbt_archive_ctx.c1
-rw-r--r--src/internal/slibtool_driver_impl.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/arbits/slbt_archive_ctx.c b/src/arbits/slbt_archive_ctx.c
index c9c1a7d..6e93a70 100644
--- a/src/arbits/slbt_archive_ctx.c
+++ b/src/arbits/slbt_archive_ctx.c
@@ -84,6 +84,7 @@ int slbt_get_archive_ctx(
return slbt_free_archive_ctx_impl(ctx,
SLBT_NESTED_ERROR(dctx));
+ ctx->dctx = dctx;
ctx->path = path;
ctx->actx.path = &ctx->path;
ctx->actx.map = &ctx->map;
diff --git a/src/internal/slibtool_driver_impl.h b/src/internal/slibtool_driver_impl.h
index 9aca3f6..b1a07f7 100644
--- a/src/internal/slibtool_driver_impl.h
+++ b/src/internal/slibtool_driver_impl.h
@@ -150,6 +150,7 @@ struct slbt_exec_ctx_impl {
};
struct slbt_archive_ctx_impl {
+ const struct slbt_driver_ctx * dctx;
const char * path;
struct slbt_raw_archive map;
struct slbt_archive_meta * meta;