diff options
author | Romain Naour <romain.naour@openwide.fr> | 2014-08-19 19:43:56 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-08-21 15:36:01 +0200 |
commit | 1d572607579553ac1c400cb4cf6e284cefbd0124 (patch) | |
tree | 582d0364b343808af7cd58c65ee001a33dfeceb7 /package/ltris | |
parent | 56ed21e726b72bd7d38f0b444fb41d53a30fdc96 (diff) | |
download | buildroot-1d572607579553ac1c400cb4cf6e284cefbd0124.tar.gz buildroot-1d572607579553ac1c400cb4cf6e284cefbd0124.zip |
package/ltris: fix linking with intl
ltris doen't build with (e)glibc toolchain since commit 454a41016f2f074b69e2c677f4749c213c653e86
when gettext package is selected.
With (e)glibc libintl is provided by the libc whereas with uClibc it's provided by gettext.
Linking with intl is only needed if the toolchain needs gettext and locale is set.
Fixes:
http://autobuild.buildroot.net/results/821/82128cb9f5cd6ae2595a8302462f1b5719dad9f7/build-end.log
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/ltris')
-rw-r--r-- | package/ltris/ltris.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/ltris/ltris.mk b/package/ltris/ltris.mk index 75b6ad0ffc..c9fe5c7d6a 100644 --- a/package/ltris/ltris.mk +++ b/package/ltris/ltris.mk @@ -21,7 +21,7 @@ else LTRIS_CONF_OPT += --disable-audio endif -ifeq ($(BR2_PACKAGE_GETTEXT),y) +ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y) LTRIS_DEPENDENCIES += gettext LTRIS_CONF_ENV += LIBS=-lintl endif |