Fix building of alsa-tools when using the --as-needed linker option.

Please note that LDFLAGS is the _wrong_ variable to pass libraries
with, automake tells you to use _LDADD for binaries and _LIBADD for
libraries, while autoconf wants them in the LIBS variable.

Signed-off-by: Diego 'Flameeyes' Pettenò <flameeyes@gmail.com>
This commit is contained in:
Diego 'Flameeyes' Pettenò 2008-11-13 13:13:53 +01:00
parent 1a8fa92c75
commit 56970e8143
4 changed files with 4 additions and 4 deletions

View file

@ -2,7 +2,7 @@ AM_CFLAGS = @RMEDIGICONTROL_CFLAGS@
bin_PROGRAMS = rmedigicontrol
rmedigicontrol_SOURCES = rmedigicontrol.c rmedigicontrol.h level.c loopback.c
rmedigicontrol_LDFLAGS = @RMEDIGICONTROL_LIBS@
rmedigicontrol_LDADD = @RMEDIGICONTROL_LIBS@
EXTRA_DIST = gitcompile depcomp configure.in-gtk1 configure.in-gtk2
AUTOMAKE_OPTIONS = foreign