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

@ -4,7 +4,7 @@ man_MANS = envy24control.1
envy24control_SOURCES = envy24control.c envy24control.h levelmeters.c midi.c \
mixer.c patchbay.c hardware.c driverevents.c volume.c \
profiles.c profiles.h midi.h config.c config.h
envy24control_LDFLAGS = @ENVY24CONTROL_LIBS@
envy24control_LDADD = @ENVY24CONTROL_LIBS@
EXTRA_DIST = gitcompile envy24control.1 depcomp configure.in-gtk1 \
configure.in-gtk2 strstr_icase_blank.c new_process.c \
README.profiles