aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Baruch Siach <baruch@tkos.co.il>2017-08-28 20:56:35 +0300
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-08-29 22:59:54 +0200
commitec8b3f4b7c4dc7feb0caad72b3a1c92261bd297f (patch)
tree3d333ba20c41e9b5cf55de2954bc98f67fd2e3f7
parent05a86bdf1fa9071de9701fba058d47d80a0925bd (diff)
downloadbuildroot-ec8b3f4b7c4dc7feb0caad72b3a1c92261bd297f.tar.gz
buildroot-ec8b3f4b7c4dc7feb0caad72b3a1c92261bd297f.tar.bz2
dnsmasq: fix build without NLS
dnsmasq i18n support requires NLS for the provided gettext utilities. Locale support, OTOH, is not required. Fixes: http://autobuild.buildroot.net/results/d45/d453aff1ce1f5e1d380bd7692a4a0565505027a3/ http://autobuild.buildroot.net/results/fb7/fb7844a239472eb48c18778aa7d515552ccfb4b9/ http://autobuild.buildroot.net/results/d85/d856ec3e6b28bd723176bb892a56dff5262a6b92/ Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/dnsmasq/dnsmasq.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/dnsmasq/dnsmasq.mk b/package/dnsmasq/dnsmasq.mk
index 00a59dac01..63295ce410 100644
--- a/package/dnsmasq/dnsmasq.mk
+++ b/package/dnsmasq/dnsmasq.mk
@@ -35,7 +35,7 @@ ifeq ($(BR2_PACKAGE_DNSMASQ_IDN),y)
DNSMASQ_DEPENDENCIES += libidn $(TARGET_NLS_DEPENDENCIES)
DNSMASQ_MAKE_OPTS += LIBS+=$(TARGET_NLS_LIBS)
DNSMASQ_COPTS += -DHAVE_IDN
-DNSMASQ_I18N = $(if $(BR2_ENABLE_LOCALE),-i18n)
+DNSMASQ_I18N = $(if $(BR2_SYSTEM_ENABLE_NLS),-i18n)
endif
ifeq ($(BR2_PACKAGE_DNSMASQ_CONNTRACK),y)