On Wed, 04.06.08 13:17, Colin Guthrie (gmane at colin.guthr.ie) wrote: > Not to try and go tooo far off topic for this list, but can you > elaborate on why? Because it tapes over bugs. And in times of dso constructors/destructors and dynamic typing systems such as gtype the linking rules are not as simple and obvious as some people might think. As one example it will break PA if you decide to link some of the modules directly into PA if you do a bit more exotic linking like i currently do in my dev tree. The right fix to for the problem is libtool's "Depends.private", not coming up with some magic thing that eagerly drops deps without knowing what is really going on. I think the Debian devs posted a longer explanation of why -as-needed is bad a while back somewhere. Lennart -- Lennart Poettering Red Hat, Inc. lennart [at] poettering [dot] net ICQ# 11060553 http://0pointer.net/lennart/ GnuPG 0x1A015CC4