Hello!
I am building a shared library and to this I am adding some shared and
static libraries via "-l" flags.
During the linking libtool tells me that it only can add this libraries,
if I have a shared version of it. The problem is that I only have the
lib.a file and not the sources, so I can't make me a shared version of
it.
If I make it from hand with gcc and the flag --whole-archiv, the static
librarries are added and the resulting shared lib is fully functional.
I tried to pass this flag in the Makefile.am as LDFLAG. Then I watched
that libtool removes the static libries and the flag after his warning
and don't pass it on to the linker.
So any suggestions, how I can tell libtool to add a static library while
building a shared one?
Yours
Nikolaus Kimmel
=========================================================
N. J. Kimmel, DaimlerChrysler AG, Research Center Ulm
P.O. Box 2360, 89013 Ulm, Germany
Phone: +49 731 505 4123
Fax: +49 731 505 4113
Email: [EMAIL PROTECTED]
=========================================================