Add ALSA_LIBS to MIXER_LIBS, otherwise building mpd in a static context fails
with lot of undefined references to alsa-lib (libasound) required by
src/mixer/plugins/AlsaMixerPlugin.cxx.

Signed-off-by: Jörg Krause <[email protected]>
---
 Makefile.am | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile.am b/Makefile.am
index 0bcd9ad..25fd41e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1303,6 +1303,7 @@ liboutput_plugins_a_SOURCES = \
 
 MIXER_LIBS = \
        libmixer_plugins.a \
+       $(ALSA_LIBS) \
        $(PULSE_LIBS2)
 
 MIXER_API_SRC = \
-- 
2.6.2

_______________________________________________
mpd-devel mailing list
[email protected]
http://mailman.blarg.de/listinfo/mpd-devel

Reply via email to