summaryrefslogtreecommitdiffstats
path: root/package/sdl_sound
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2010-07-04 08:54:47 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2010-07-04 08:54:47 +0200
commitd31046ec2667a109bae6e342d40d452cbd06b653 (patch)
treefb15faeccf3c51c527c67a37e28d258752fb20df /package/sdl_sound
parentfc5cc936d65dc46d2e5e141d15b1a3cc11f22257 (diff)
downloadbuildroot-novena-d31046ec2667a109bae6e342d40d452cbd06b653.tar.gz
buildroot-novena-d31046ec2667a109bae6e342d40d452cbd06b653.zip
sdl_sound: needs iconv if !locale
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/sdl_sound')
-rw-r--r--package/sdl_sound/Config.in1
-rw-r--r--package/sdl_sound/sdl_sound.mk4
2 files changed, 5 insertions, 0 deletions
diff --git a/package/sdl_sound/Config.in b/package/sdl_sound/Config.in
index 08ad7542c..542c996b2 100644
--- a/package/sdl_sound/Config.in
+++ b/package/sdl_sound/Config.in
@@ -1,6 +1,7 @@
config BR2_PACKAGE_SDL_SOUND
bool "SDL_sound"
depends on BR2_PACKAGE_SDL
+ select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
help
SDL_sound is a library that handles the decoding of several
popular sound file formats, such as .WAV and .MP3.
diff --git a/package/sdl_sound/sdl_sound.mk b/package/sdl_sound/sdl_sound.mk
index 610e9681a..5058551b0 100644
--- a/package/sdl_sound/sdl_sound.mk
+++ b/package/sdl_sound/sdl_sound.mk
@@ -11,6 +11,10 @@ SDL_SOUND_INSTALL_STAGING:=YES
SDL_SOUND_INSTALL_TARGET:=YES
SDL_SOUND_DEPENDENCIES = sdl
+ifneq ($(BR2_ENABLE_LOCALE),y)
+SDL_SOUND_DEPENDENCIES += libiconv
+endif
+
SDL_SOUND_CONF_OPT:=--with-sdl-prefix=$(STAGING_DIR)/usr \
--with-sdl-exec-prefix=$(STAGING_DIR)/usr \
--disable-sdltest \