Hello.
How to add static libraries to use it as dependencies?
For example, a simple fpc test app using X11 has that dependencies:
~> ldd testX11
linux-vdso.so.1 (0x00007ffc275f0000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fad6c866000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fad6c600000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fad6c861000)
libX11.so.6 => /lib/x86_64-linux-gnu/libX11.so.6 (0x00007fad6c4c2000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fad6c85c000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fad6c3d9000)
/lib64/ld-linux-x86-64.so.2 (0x00007fad6c88e000)
libxcb.so.1 => /lib/x86_64-linux-gnu/libxcb.so.1 (0x00007fad6c830000)
libXau.so.6 => /lib/x86_64-linux-gnu/libXau.so.6 (0x00007fad6c82a000)
libXdmcp.so.6 => /lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007fad6c822000)
libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007fad6c80d000)
libmd.so.0 => /lib/x86_64-linux-gnu/libmd.so.0 (0x00007fad6c3cc000)
What fpc parameter should be used to add those library static into the binary and to force to use it?
( Yes I know it is not regular, but for the fun and for exploration.
)
Thanks.
Fre;D