summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/sdl_sound/sdl_sound.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/sdl_sound/sdl_sound.mk b/package/sdl_sound/sdl_sound.mk
index 6201967f45..861c932f73 100644
--- a/package/sdl_sound/sdl_sound.mk
+++ b/package/sdl_sound/sdl_sound.mk
@@ -32,7 +32,10 @@ SDL_SOUND_CONF_OPTS += --disable-modplug
endif
ifeq ($(BR2_PACKAGE_LIBVORBIS),y)
+SDL_SOUND_CONF_OPTS += --enable-ogg
SDL_SOUND_DEPENDENCIES += libvorbis
+else
+SDL_SOUND_CONF_OPTS += --disable-ogg
endif
ifeq ($(BR2_PACKAGE_SPEEX),y)
OpenPOWER on IntegriCloud