sdl_sound: needs iconv if !locale

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Peter Korsgaard 2010-07-04 08:54:47 +02:00
parent fc5cc936d6
commit d31046ec26
2 changed files with 5 additions and 0 deletions

View File

@ -1,6 +1,7 @@
config BR2_PACKAGE_SDL_SOUND config BR2_PACKAGE_SDL_SOUND
bool "SDL_sound" bool "SDL_sound"
depends on BR2_PACKAGE_SDL depends on BR2_PACKAGE_SDL
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
help help
SDL_sound is a library that handles the decoding of several SDL_sound is a library that handles the decoding of several
popular sound file formats, such as .WAV and .MP3. popular sound file formats, such as .WAV and .MP3.

View File

@ -11,6 +11,10 @@ SDL_SOUND_INSTALL_STAGING:=YES
SDL_SOUND_INSTALL_TARGET:=YES SDL_SOUND_INSTALL_TARGET:=YES
SDL_SOUND_DEPENDENCIES = sdl SDL_SOUND_DEPENDENCIES = sdl
ifneq ($(BR2_ENABLE_LOCALE),y)
SDL_SOUND_DEPENDENCIES += libiconv
endif
SDL_SOUND_CONF_OPT:=--with-sdl-prefix=$(STAGING_DIR)/usr \ SDL_SOUND_CONF_OPT:=--with-sdl-prefix=$(STAGING_DIR)/usr \
--with-sdl-exec-prefix=$(STAGING_DIR)/usr \ --with-sdl-exec-prefix=$(STAGING_DIR)/usr \
--disable-sdltest \ --disable-sdltest \