summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/arbits/slbt_archive_meta.c3
-rw-r--r--src/internal/slibtool_ar_impl.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/arbits/slbt_archive_meta.c b/src/arbits/slbt_archive_meta.c
index bf7efb0..cc14fe7 100644
--- a/src/arbits/slbt_archive_meta.c
+++ b/src/arbits/slbt_archive_meta.c
@@ -1200,6 +1200,9 @@ int slbt_get_archive_meta(
/* member vector */
m->armeta.a_memberv = m->memberv;
+ /* associated driver context */
+ m->dctx = dctx;
+
/* all done */
if (m->hdrinfov) {
free(m->hdrinfov);
diff --git a/src/internal/slibtool_ar_impl.h b/src/internal/slibtool_ar_impl.h
index bdaa3e5..b96b77b 100644
--- a/src/internal/slibtool_ar_impl.h
+++ b/src/internal/slibtool_ar_impl.h
@@ -18,6 +18,7 @@ struct ar_armaps_impl {
};
struct slbt_archive_meta_impl {
+ const struct slbt_driver_ctx * dctx;
size_t nentries;
void * hdrinfov;
char * namestrs;