mpd: forcibly disable oggflac without flac
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Fri, 25 Feb 2011 20:10:06 +0000 (17:10 -0300)
committerPeter Korsgaard <jacmet@sunsite.dk>
Fri, 25 Feb 2011 20:21:23 +0000 (21:21 +0100)
If flac and libogg were both built but flac isn't selected in mpd it
will be picked up anyway.
Forcibly disable oggflac support if flac support is disabled for
consistency.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/multimedia/mpd/mpd.mk

index 3653152f4d801bd4206ae0ed514e1fcc2fa487fd..d6658aee5d32fc47f2231d298371259514e99698 100644 (file)
@@ -35,7 +35,7 @@ endif
 ifeq ($(BR2_PACKAGE_MPD_FLAC),y)
 MPD_DEPENDENCIES += flac
 else
-MPD_CONF_OPT += --without-flac
+MPD_CONF_OPT += --without-flac --disable-oggflac
 endif
 
 ifeq ($(BR2_PACKAGE_MPD_CURL),y)