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>
@@ -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 \