From: Peter Korsgaard Date: Sun, 12 Jan 2014 09:06:39 +0000 (+0100) Subject: ltris2: needs gettext on uClibc toolchains w/ locale X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=454a41016f2f074b69e2c677f4749c213c653e86;p=buildroot.git ltris2: needs gettext on uClibc toolchains w/ locale Fixes http://autobuild.buildroot.net/results/599/599554ea08aafed20c487a25fcbf641eb9ac2e5f/ Signed-off-by: Peter Korsgaard --- 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))