summaryrefslogtreecommitdiffstats
path: root/package/sdl
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2011-07-19 23:11:57 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2011-07-19 23:11:57 +0200
commit8a6f23a42409a0784ffa38c262b50516516e56ef (patch)
tree42e4de9bcee0ab7372b59bea086f5ff6ba9a5b82 /package/sdl
parente5decb1905708573e4741e786db7bbb8e1f93561 (diff)
downloadbuildroot-novena-8a6f23a42409a0784ffa38c262b50516516e56ef.tar.gz
buildroot-novena-8a6f23a42409a0784ffa38c262b50516516e56ef.zip
sdl: build alsa support if enabled
Ensure alsa-lib gets built before SDL if enabled, so the SDL configure script correctly detects alsa support. Noticed by Ayla on IRC. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/sdl')
-rw-r--r--package/sdl/sdl.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/sdl/sdl.mk b/package/sdl/sdl.mk
index 99488a60b..af462c40d 100644
--- a/package/sdl/sdl.mk
+++ b/package/sdl/sdl.mk
@@ -40,6 +40,10 @@ ifeq ($(BR2_PACKAGE_TSLIB),y)
SDL_DEPENDENCIES += tslib
endif
+ifeq ($(BR2_PACKAGE_ALSA_LIB),y)
+SDL_DEPENDENCIES += alsa-lib
+endif
+
SDL_CONF_OPT += --enable-pulseaudio=no \
--disable-arts \
--disable-esd \