aboutsummaryrefslogtreecommitdiff
path: root/package/dos2unix
diff options
context:
space:
mode:
authorGravatar Baruch Siach <baruch@tkos.co.il>2015-09-29 09:55:48 +0300
committerGravatar Peter Korsgaard <peter@korsgaard.com>2015-09-30 00:20:30 +0200
commit9ba132b371e0df7892fc73542e73edeb080ac73f (patch)
tree24d034c761e8e4dc3c759b4f0a0614222ca65fd6 /package/dos2unix
parent9eef3ab93eee745e72cc5ab28e4ca1def9e96f6c (diff)
downloadbuildroot-9ba132b371e0df7892fc73542e73edeb080ac73f.tar.gz
buildroot-9ba132b371e0df7892fc73542e73edeb080ac73f.tar.bz2
dos2unix: needs host-gettext
dos2unix uses xgettext to generate its .pot file. Fixes: http://autobuild.buildroot.net/results/eda/eda7eeb2fdf7a22c299858ac99d1b1953b15575e/ http://autobuild.buildroot.net/results/aaf/aaf2b77f964eb6259e2e4b1d5a13838c3a1eef21/ http://autobuild.buildroot.net/results/922/92289b63ebdf133ab910f058ffca8ba34e574208/ Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/dos2unix')
-rw-r--r--package/dos2unix/dos2unix.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/dos2unix/dos2unix.mk b/package/dos2unix/dos2unix.mk
index 55608c653f..f448e1406d 100644
--- a/package/dos2unix/dos2unix.mk
+++ b/package/dos2unix/dos2unix.mk
@@ -11,7 +11,9 @@ DOS2UNIX_LICENSE_FILES = COPYING.txt
DOS2UNIX_DEPENDENCIES = $(if $(BR2_PACKAGE_BUSYBOX),busybox)
HOST_DOS2UNIX_DEPENDENCIES =
-ifeq ($(BR2_ENABLE_LOCALE),)
+ifeq ($(BR2_ENABLE_LOCALE),y)
+DOS2UNIX_DEPENDENCIES += host-gettext
+else
DOS2UNIX_MAKE_OPTS += ENABLE_NLS=
endif