tests: use LDADD for libs to link to instead of LDFLAGS
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Wed, 14 Apr 2010 19:06:09 +0000 (20:06 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Wed, 14 Apr 2010 19:06:09 +0000 (20:06 +0100)
commitcc04850bd89680a2a71e9b1174c9b5a21f13e37a
treeb5b4c1f41642a10032b68bfc188dbb498db23032
parent146e50455b2b2901de623e65e27c347493005cff
tests: use LDADD for libs to link to instead of LDFLAGS

Use foo_LDADD instead of foo_LDFLAGS to specify the libraries to link to.
This should make sure arguments are passed to the linker in the right
order, and makes LDFLAGS usable again.

Based on patch by Brian Cameron <brian.cameron@oracle.com>

Fixes #615697.
tests/examples/equalizer/Makefile.am
tests/examples/shapewipe/Makefile.am
tests/examples/spectrum/Makefile.am
tests/examples/v4l2/Makefile.am
tests/icles/Makefile.am