aboutsummaryrefslogtreecommitdiff
path: root/package/ltris
diff options
context:
space:
mode:
authorGravatar Peter Korsgaard <peter@korsgaard.com>2014-01-12 10:06:39 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-01-12 10:06:39 +0100
commit454a41016f2f074b69e2c677f4749c213c653e86 (patch)
treea1d8be1245f85d541e1cca7a7dd0b8323fb0145b /package/ltris
parent7d6c79ed887e67ccb87f993150c1ca65dec390cc (diff)
downloadbuildroot-454a41016f2f074b69e2c677f4749c213c653e86.tar.gz
buildroot-454a41016f2f074b69e2c677f4749c213c653e86.tar.bz2
ltris2: needs gettext on uClibc toolchains w/ locale
Fixes http://autobuild.buildroot.net/results/599/599554ea08aafed20c487a25fcbf641eb9ac2e5f/ Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/ltris')
-rw-r--r--package/ltris/Config.in1
-rw-r--r--package/ltris/ltris.mk5
2 files changed, 6 insertions, 0 deletions
diff --git a/package/ltris/Config.in b/package/ltris/Config.in
index 1ce52daa43..b4e0ccf308 100644
--- a/package/ltris/Config.in
+++ b/package/ltris/Config.in
@@ -1,6 +1,7 @@
config BR2_PACKAGE_LTRIS
bool "LTris"
select BR2_PACKAGE_SDL
+ select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
help
LTris as a tetris clone, using SDL. It optionally requires
SDL_mixer for audio support. A display with minimum 640x480
diff --git a/package/ltris/ltris.mk b/package/ltris/ltris.mk
index e26bf45ef9..008f0d78ed 100644
--- a/package/ltris/ltris.mk
+++ b/package/ltris/ltris.mk
@@ -21,4 +21,9 @@ else
LTRIS_CONF_OPT += --disable-audio
endif
+ifeq ($(BR2_PACKAGE_GETTEXT),y)
+LTRIS_DEPENDENCIES += gettext
+LTRIS_CONF_ENV += LIBS=-lintl
+endif
+
$(eval $(autotools-package))