0003-fix-static-build-with-alsa.patch 894 B

1234567891011121314151617181920212223242526272829303132
  1. From bba7b8e5fed79a7fecacf5468ade35a3ae0a0f8e Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?J=C3=B6rg=20Krause?= <joerg.krause@embedded.rocks>
  3. Date: Sat, 21 Nov 2015 23:51:43 +0100
  4. Subject: [PATCH 1/1] Makefile.am: fix static build with alsa
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. Add ALSA_LIBS to MIXER_LIBS, otherwise building mpd in a static context fails
  9. with lot of undefined references to alsa-lib (libasound) required by
  10. src/mixer/plugins/AlsaMixerPlugin.cxx.
  11. Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
  12. ---
  13. Makefile.am | 1 +
  14. 1 file changed, 1 insertion(+)
  15. diff --git a/Makefile.am b/Makefile.am
  16. index 89819de..307fcba 100644
  17. --- a/Makefile.am
  18. +++ b/Makefile.am
  19. @@ -1219,6 +1219,7 @@ liboutput_plugins_a_SOURCES = \
  20. MIXER_LIBS = \
  21. libmixer_plugins.a \
  22. + $(ALSA_LIBS) \
  23. $(PULSE_LIBS)
  24. MIXER_API_SRC = \
  25. --
  26. 2.6.2