When linking old library to any libtool target that is not an
executable, libtool warns that it might not be portable, in particular
because shared libraries need PIC from the static library to be working.
However, when adding an old library as dependency to a static libtool
library, there is no l
Previously, adding a static archive library, aka. old library, as a
dependency of a new libtool library compiled as a static archive (be it
a convenience library or an installed static library) resulted in the
dependency archive being added into the target archive as-is.
However, linkers are usual
Hi,
For information, I've made a test project at this location:
https://github.com/alexandre-janniaux/libtool-relocatable-tests/blob/main/Makefile
It highlights the issue with the current libtool code and
show the linked result when using LIBTOOL=/path/to/patched/libtool.
I hope it helps r