From a07095d89f48e4612aea2b6edd0c3a62ab209892 Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 10 Mar 2024 15:27:44 +0000 Subject: link mode: treat dlopen of static-only dependency libs as (also fixed) dlpreopen --- src/internal/slibtool_driver_impl.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/internal') diff --git a/src/internal/slibtool_driver_impl.h b/src/internal/slibtool_driver_impl.h index e6e21ea..ef734fd 100644 --- a/src/internal/slibtool_driver_impl.h +++ b/src/internal/slibtool_driver_impl.h @@ -150,7 +150,7 @@ struct slbt_driver_ctx_impl { struct slbt_txtfile_ctx * lconfctx; struct slbt_obj_list * objlistv; - const char ** dlopenv; + struct argv_entry ** dlopenv; size_t ndlopen; const struct slbt_archive_ctx * arctx; @@ -179,6 +179,7 @@ struct slbt_exec_ctx_impl { struct slbt_symlist_ctx * sctx; struct slbt_exec_ctx ctx; struct slbt_archive_ctx ** dlactxv; + struct slbt_archive_ctx * dlpreopen; char ** dlargv; int argc; char * args; -- cgit v1.2.3