Hello Kurt, Andreas, all, * Kurt Roeckx wrote on Sat, Apr 14, 2007 at 04:01:46PM CEST: > On Sat, Apr 14, 2007 at 03:45:38PM +0200, Andreas Metzler wrote: > > Package: libtool > > Version: 1.5.22-4 > > Severity: normal > > > > Dear Kurt, > > thanks for helping me along with this issue on IRC, as dicussed there > > I am submitting this bug-report for documentation purposes. > > > > I have just realized that the Debian specific libtool enhancement for > > reducing unneeded linkage (by not recursivly linking dependency_libs > > when dynamic linking is used) does not work when libtool convenience > > libraries (noinst_LTLIBRARIES) are used. > > See > http://www.mail-archive.com/[EMAIL PROTECTED]/msg08136.html for a possible > way to solve this. > > Anyway, this is going to require some work to really solve.
And anyway it is wrong! You are misunderstanding the very concept of convenience archives. There is *no* indirection that you can take advantage of. All objects of the convenience archive will be included as they are in the library that they end up in. Thus, this library will *explicitly* depend upon all symbols that are referenced from those objects. Trying to remove deplibs from this list is like saying: while I said a minute ago that I need these libraries, now I am saying that I don't need them. It's nonsensical. Such a patch will not find its way into upstream GNU Libtool. If you want less libs linked against, them simply remove them from the link line when you _create_ the convenience archives. They won't mind. Hope that helps. Cheers, Ralf -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]