Re: Including static libraries in shared libraries with libtool.

2004-10-03 Thread Gary V. Vaughan
Howard Chu wrote: One more time, shouting into the senseless void... If these so-called "convenience" libraries are meant to be linked in whole, they should not be ar archives at all. You should just link them directly into a relocatable object file: ld -r -o *.o I am listening, and I have ta

Re: Including static libraries in shared libraries with libtool.

2004-09-26 Thread Bob Friesenhahn
On Sun, 26 Sep 2004, Simon Richter wrote: 1. Libtool takes _all_ modules from libauth.la, and puts them into libauthuserdb.la. I only want the modules that libauthuserdb.la actually needs. A "convenience library", as a libtool library that is not installed is called, is linked into each object th

Re: Including static libraries in shared libraries with libtool.

2004-09-26 Thread Sam Varshavchik
Simon Richter writes: Hi, My intentions here are: Build the sources for libauthuserdb.la. Take their object code, and grab whatever modules from libauth.la that are references by stuff in libauthuserdb.la, and place all of that into a shared library. Not possible without reimplementing parts of

Re: Including static libraries in shared libraries with libtool.

2004-09-26 Thread Simon Richter
Hi, > My intentions here are: > Build the sources for libauthuserdb.la. Take their object code, and grab > whatever modules from libauth.la that are references by stuff in > libauthuserdb.la, and place all of that into a shared library. Not possible without reimplementing parts of the linker.