Hello Rafał, * Rafał Mużyło wrote on Fri, Nov 07, 2008 at 12:32:11PM CET: > I'm using Gentoo. In the LDFLAGS, that my system is built with, > I have -Wl,--as-needed. > A few days ago, there was a release of libxcb and libX11, > that has done away with libxcb-xlib. > The problem is that this lib has injected its la file > to a lot of libX11 dependent la files. My question is: > was there any way to prevent this problem from happening > in the first place ? Most of the libs affected didn't link > with that lib anyway. > Here you'll find a discussion of a similar (but much earlier) > problem: http://bugs.gentoo.org/show_bug.cgi?id=158476 .
Yes, this is an unfortunate followup problem of the issue that libtool adds indirect deplibs to the .la files indiscriminately. Cheers, Ralf _______________________________________________ http://lists.gnu.org/mailman/listinfo/libtool