diff options
author | Romain Naour <romain.naour@openwide.fr> | 2014-08-21 15:56:07 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-08-25 19:55:20 +0200 |
commit | 47128a9b822657d6f9d8c4772ccf21a3e21343d4 (patch) | |
tree | 70d36cc366b8963084413604dd1574ca2145f447 /package/procps-ng | |
parent | 374adc17a01c3617bdd09097e1226070566b22ec (diff) | |
download | buildroot-47128a9b822657d6f9d8c4772ccf21a3e21343d4.tar.gz buildroot-47128a9b822657d6f9d8c4772ccf21a3e21343d4.zip |
package/procps-ng: fix linking with intl
procps-ng doesn'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/3e8/3e8464e0b00ce22fa02a6337159fca250d86425c/build-end.log
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/procps-ng')
-rw-r--r-- | package/procps-ng/procps-ng.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/procps-ng/procps-ng.mk b/package/procps-ng/procps-ng.mk index 7628c21ed0..8f9caf3ae5 100644 --- a/package/procps-ng/procps-ng.mk +++ b/package/procps-ng/procps-ng.mk @@ -12,7 +12,7 @@ PROCPS_NG_LICENSE_FILES = COPYING COPYING.LIB PROCPS_NG_DEPENDENCIES = ncurses -ifeq ($(BR2_PACKAGE_GETTEXT),y) +ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y) PROCPS_NG_DEPENDENCIES += gettext PROCPS_NG_CONF_OPT += LIBS=-lintl endif |