mpd: forcibly disable oggflac without flac

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>
This commit is contained in:
Gustavo Zacarias 2011-02-25 17:10:06 -03:00 committed by Peter Korsgaard
parent 77dfefd43c
commit 53725fafee

View 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)