mirror of
https://github.com/alsa-project/alsa-tools.git
synced 2026-03-24 09:06:03 -04:00
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:
parent
1a8fa92c75
commit
56970e8143
4 changed files with 4 additions and 4 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue