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

@ -36,6 +36,6 @@ FLTK_CXXFLAGS="`$FLTK_CONFIG --cxxflags` -fno-exceptions"
FLTK_LIBS="`$FLTK_CONFIG --ldflags`"
CXXFLAGS="$CXXFLAGS $ALSA_CFLAGS $FLTK_CXXFLAGS"
LDFLAGS="$LDFLAGS $ALSA_LIBS $FLTK_LIBS"
LIBS="$LIBS $ALSA_LIBS $FLTK_LIBS"
AC_OUTPUT(Makefile src/Makefile pixmaps/Makefile)