On Sat, Nov 8, 2008 at 9:22 AM, Roumen Petrov <[EMAIL PROTECTED]> wrote: > [SNIP] >>> >>> But problem is not in the libtool. >> >> Yes it is. If you're linking to libfoo, libtool reads libfoo.la and >> adds direct links to everything in dependency_libs. Let's say libfoo >> depends on libbar and libbaz. You're application ends up directly >> linking to libfoo, libbar and libbaz instead of just libfoo. > > No. If project when build a library don't add dependent libraries to > xxx_LIBADD libtool left dependency_libs empty in la-file.
Um, but what if the libraries actually needs to link to other libraries? Just emptying LIBADD means you're building a broken library. -- Dan _______________________________________________ http://lists.gnu.org/mailman/listinfo/libtool