[Buildroot] [PATCH] mpd: fix vorbis build failure

Gustavo Zacarias gustavo at zacarias.com.ar
Fri Feb 7 13:24:45 UTC 2014


Forcibly disable the vorbis encoder support when the vorbis option isn't
enabled to avoid autodetection.
Said autodetection has a build bug that it won't properly set libvorbis
build options when the decoder is disabled. Fixes:
http://autobuild.buildroot.net/results/a46/a46b4c97fe126b23a96051a8bf1243a7f4935434/

Signed-off-by: Gustavo Zacarias <gustavo at zacarias.com.ar>
---
 package/mpd/mpd.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/mpd/mpd.mk b/package/mpd/mpd.mk
index 4a7926c..6bdb149 100644
--- a/package/mpd/mpd.mk
+++ b/package/mpd/mpd.mk
@@ -91,7 +91,7 @@ endif
 ifeq ($(BR2_PACKAGE_MPD_VORBIS),y)
 MPD_DEPENDENCIES += libvorbis
 else
-MPD_CONF_OPT += --disable-vorbis
+MPD_CONF_OPT += --disable-vorbis --disable-vorbis-encoder
 endif
 
 ifeq ($(BR2_PACKAGE_MPD_MPG123),y)
-- 
1.8.3.2



More information about the buildroot mailing list