diff options
author | midipix <writeonce@midipix.org> | 2024-03-09 23:09:24 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2024-03-10 02:40:15 +0000 |
commit | d054ee34663b98b4387690f83ac4d836891f9743 (patch) | |
tree | 20737807aa5c8885eb07bad4aa532083a73db303 /src/logic/linkcmd/slbt_linkcmd_archive.c | |
parent | 9c46bdbfb161a06b5a3c0559abb456961ca519f9 (diff) | |
download | slibtool-d054ee34663b98b4387690f83ac4d836891f9743.tar.bz2 slibtool-d054ee34663b98b4387690f83ac4d836891f9743.tar.xz |
link mode: dlopen/dlpreopen the static archive as needed.
Diffstat (limited to 'src/logic/linkcmd/slbt_linkcmd_archive.c')
-rw-r--r-- | src/logic/linkcmd/slbt_linkcmd_archive.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/logic/linkcmd/slbt_linkcmd_archive.c b/src/logic/linkcmd/slbt_linkcmd_archive.c index 93237dd..5f1ba52 100644 --- a/src/logic/linkcmd/slbt_linkcmd_archive.c +++ b/src/logic/linkcmd/slbt_linkcmd_archive.c @@ -156,7 +156,9 @@ slbt_hidden int slbt_exec_link_create_archive( /* input objects associated with .la archives */ for (parg=ectx->cargv; *parg; parg++) - if (slbt_adjust_wrapper_argument(*parg,true)) + if (slbt_adjust_wrapper_argument( + *parg,true, + dctx->cctx->settings.arsuffix)) if (slbt_util_import_archive(ectx,output,*parg)) return SLBT_NESTED_ERROR(dctx); |