Hi,

Can anyone give me a hint how to set the 'soname'in FPC shared libraries
for LINUX?

I have tried to pass "-soname libTest.so.0" via the k-switch to the
linker but this doesn't seem to work.

The ppas.sh file (see excerpt below) shows that the passed option
"-soname libTest.so.0" is overwritten by an automatic generated "-soname
libTest.so".

---
/usr/bin/ld -b elf32-i386 -m elf_i386 -soname=libTest.so.0 -init
FPC_LIB_START -fini FPC_LIB_EXIT -soname libTest.so -shared -L. -o
../bin/libTest.so ../bin/link.res
----

Many thanks in advance,

Werner

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to