Fix compilation with LDFLAGS=-Wl,--no-add-needed
commit844bf1b4e34a19672f964d7c01909031b5704b80
authorBrad Jorsch <anomie@users.sourceforge.net>
Mon, 20 Sep 2010 16:08:09 +0000 (20 12:08 -0400)
committerCarlos R. Mafra <crmafra@gmail.com>
Thu, 7 Oct 2010 10:04:28 +0000 (7 12:04 +0200)
treed4da587574ad3133c1fe6d2bf18bae342d8248f9
parent7374fe5984dc9013d7102ccb6e9d8541725648f2
Fix compilation with LDFLAGS=-Wl,--no-add-needed

If you link against a library A that itself links against a library B,
it may or may not work to use symbols from library B in your executable;
this is known as "indirect linking". GNU ld does indirect linking by
default (but it can be disabled using --no-add-needed), but the new
experimental GNU gold linker does not do this. It's an easy fix for us,
as the tests are all already done in ./configure, we just need to tell
the Makefile.ams to use the results.

This should fix Debian bug #556677, if they ever start using this
branch.

[crmafra: Folded Andreas Metzler patch to update debian/changelog]

Signed-off-by: Brad Jorsch <anomie@users.sourceforge.net>
WPrefs.app/Makefile.am
debian/changelog
src/Makefile.am
util/Makefile.am