package/procps-ng: fix linking with intl
authorRomain Naour <romain.naour@openwide.fr>
Thu, 21 Aug 2014 13:56:07 +0000 (15:56 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 25 Aug 2014 17:55:20 +0000 (19:55 +0200)
commit47128a9b822657d6f9d8c4772ccf21a3e21343d4
tree70d36cc366b8963084413604dd1574ca2145f447
parent374adc17a01c3617bdd09097e1226070566b22ec
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>
package/procps-ng/procps-ng.mk