diff options
author | midipix <writeonce@midipix.org> | 2024-03-10 05:50:50 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2024-03-10 05:50:50 +0000 |
commit | 39ce397bc705086b8856cc5c578244aabf093aa9 (patch) | |
tree | cc5fabb9de612c2c20a7b2310a8c3f21bfcd662a /src/logic/linkcmd/slbt_linkcmd_dsolib.c | |
parent | de1edb142b4b0ba768db5e324819149df8695e5a (diff) | |
download | slibtool-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_dsolib.c')
-rw-r--r-- | src/logic/linkcmd/slbt_linkcmd_dsolib.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/logic/linkcmd/slbt_linkcmd_dsolib.c b/src/logic/linkcmd/slbt_linkcmd_dsolib.c index 13eaefb..0f70dcb 100644 --- a/src/logic/linkcmd/slbt_linkcmd_dsolib.c +++ b/src/logic/linkcmd/slbt_linkcmd_dsolib.c @@ -89,7 +89,8 @@ slbt_hidden int slbt_exec_link_create_library( const char * dsobasename, const char * dsofilename, const char * relfilename, - bool fardlopen) + bool fardlopen, + bool fpic) { int fdcwd; char ** parg; @@ -119,7 +120,7 @@ slbt_hidden int slbt_exec_link_create_library( /* input argument adjustment */ for (parg=ectx->cargv; *parg; parg++) - slbt_adjust_object_argument(*parg,true,false,fdcwd); + slbt_adjust_object_argument(*parg,fpic,false,fdcwd); /* .deps */ if (slbt_exec_link_create_dep_file( |