Hello,
I have a lpi that produces a .so (say acertain.so) that works.
Currently if I do
file acertain.so
acertain.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, not stripped
I would like it to be statically linked, so I modify lpi to include -Xt -XS, but result is still
file acertain.so
acertain.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, not stripped
Is it possible to obtain statically linked for a .so like it happens for executables? In example below I give to compilet -Xt -XS and is does the job for a standard linux program.
user_tt@development:~/tmp/test-static-linking$ file project1
project1: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, for GNU/Linux 2.4.0, with debug_info, not stripped
Thanks