summaryrefslogtreecommitdiff
path: root/src/logic/linkcmd/slbt_linkcmd_archive.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-03-10 05:50:50 +0000
committermidipix <writeonce@midipix.org>2024-03-10 05:50:50 +0000
commit39ce397bc705086b8856cc5c578244aabf093aa9 (patch)
treecc5fabb9de612c2c20a7b2310a8c3f21bfcd662a /src/logic/linkcmd/slbt_linkcmd_archive.c
parentde1edb142b4b0ba768db5e324819149df8695e5a (diff)
downloadslibtool-39ce397bc705086b8856cc5c578244aabf093aa9.tar.bz2
slibtool-39ce397bc705086b8856cc5c578244aabf093aa9.tar.xz
link mode: handle the combination of dlopen/dlpreopen and --disable-shared.
Diffstat (limited to 'src/logic/linkcmd/slbt_linkcmd_archive.c')
-rw-r--r--src/logic/linkcmd/slbt_linkcmd_archive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logic/linkcmd/slbt_linkcmd_archive.c b/src/logic/linkcmd/slbt_linkcmd_archive.c
index 5f1ba52..00fe825 100644
--- a/src/logic/linkcmd/slbt_linkcmd_archive.c
+++ b/src/logic/linkcmd/slbt_linkcmd_archive.c
@@ -74,7 +74,7 @@ slbt_hidden int slbt_exec_link_create_archive(
if (slbt_exec_link_create_library(
dctx,ectx,
namebuf,namebuf,namebuf,
- true) < 0)
+ true,fpic) < 0)
return SLBT_NESTED_ERROR(dctx);
}