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.

Re: Libtool chooses static version of library instead of dynamic?

2004-09-26 Thread Carlo Wood
On Sat, Sep 25, 2004 at 01:12:58PM +0400, Maarten Boekhold wrote: > Hi, > > Under cygwin I have a Makefile.am that generates a 'libtool --mode=link' > line that has references to libraries in it like > "../libs/libxffm_calls.la". When gcc is invoked, this is translated into > "../libs/.libs/lib