package/iputils: fix build without NLS
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Fri, 19 Jul 2019 21:11:52 +0000 (23:11 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 1 Aug 2019 13:45:39 +0000 (15:45 +0200)
commit2ea3072936f224485a89914effddd0ad8035838a
tree528a32c86b5602c4bc6c8cacb446a9b07ac9c56e
parentd3c2f33543b91670f8ead627ec7975142b9e6b5a
package/iputils: fix build without NLS

Set USE_GETTEXT depending on BR2_SYSTEM_ENABLE_NLS as otherwise build
will fail if gettext is not installed on host because USE_GETTEXT is
enabled by default since version 20190324 and
https://github.com/iputils/iputils/commit/2615a527209bb408b54028ef6405075cadd4541b

Fixes:
 - http://autobuild.buildroot.org/results/127823ddbd75336abc0fe0e9bd11e4f5249df87c

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Acked-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/iputils/iputils.mk