|
@@ -32,8 +32,8 @@ endif
|
|
|
|
|
|
# NLS requires IDN so only enable it (i18n) when IDN is true
|
|
|
ifeq ($(BR2_PACKAGE_DNSMASQ_IDN),y)
|
|
|
-DNSMASQ_DEPENDENCIES += libidn $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext) host-gettext
|
|
|
-DNSMASQ_MAKE_OPTS += LIBS+="$(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),-lintl)"
|
|
|
+DNSMASQ_DEPENDENCIES += libidn $(TARGET_NLS_DEPENDENCIES)
|
|
|
+DNSMASQ_MAKE_OPTS += LIBS+=$(TARGET_NLS_LIBS)
|
|
|
DNSMASQ_COPTS += -DHAVE_IDN
|
|
|
DNSMASQ_I18N = $(if $(BR2_ENABLE_LOCALE),-i18n)
|
|
|
endif
|