diff options
author | Romain Naour <romain.naour@openwide.fr> | 2014-08-20 13:25:21 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-08-21 15:34:47 +0200 |
commit | 56ed21e726b72bd7d38f0b444fb41d53a30fdc96 (patch) | |
tree | 0e71c78d9214af9a00acc38a95f201a2ac97ea5b /package/lbreakout2 | |
parent | e1d7f2dc8f8ce470f60421538aa7bbfa9ba6b45c (diff) |
package/lbreakout2: fix linking with intl
lbreakout2 doen't build with (e)glibc toolchain 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/a77/a77dd3e18cc4a5e8300ab33eb532cc03d0156f7f/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/lbreakout2')
-rw-r--r-- | package/lbreakout2/lbreakout2.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/lbreakout2/lbreakout2.mk b/package/lbreakout2/lbreakout2.mk index 8f4e27d6c..6087ca66a 100644 --- a/package/lbreakout2/lbreakout2.mk +++ b/package/lbreakout2/lbreakout2.mk @@ -14,7 +14,7 @@ LBREAKOUT2_DEPENDENCIES = sdl libpng LBREAKOUT2_CONF_ENV = \ SDL_CONFIG="$(STAGING_DIR)/usr/bin/sdl-config" -ifeq ($(BR2_PACKAGE_GETTEXT),y) +ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y) LBREAKOUT2_DEPENDENCIES += gettext LBREAKOUT2_CONF_ENV += LIBS=-lintl endif |