ltris2: needs gettext on uClibc toolchains w/ locale

Fixes http://autobuild.buildroot.net/results/599/599554ea08aafed20c487a25fcbf641eb9ac2e5f/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Peter Korsgaard 2014-01-12 10:06:39 +01:00
parent 7d6c79ed88
commit 454a41016f
2 changed files with 6 additions and 0 deletions

View File

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

View File

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