Re: -Wl,--as-needed considered possibly harmful
On Mon, Dec 10, 2007, Sune Vuorela wrote:
> Isn't the new dpkg-shlipdeps warning about symbols it can't find ?
Indeed; I was telling a story from the dark ages where .debs were
crafted with silex in your bare hands.
That said, -z defs is a good idea to check all intermediate objects and
to make the build actually fail on the first incorrect intermediate
object (dpkg-shlibdeps will only tell you at the end of the build and
only tell you about the installed final objects with missing NEEDED).