Explorar o código

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>
Peter Korsgaard %!s(int64=14) %!d(string=hai) anos
pai
achega
8a6f23a424
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      package/sdl/sdl.mk

+ 4 - 0
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 \