From 387a362de24b3c55c504c58442609d3adfadf48f Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Tue, 1 May 2018 22:40:38 +0200 Subject: [PATCH] whois: add libidn2 support libidn2 support is enabled since February 2017 (5.2.15): https://github.com/rfc1036/whois/commit/8ed6d730959b1f988dd43a511c40b9419bb2b0db Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- package/whois/whois.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/whois/whois.mk b/package/whois/whois.mk index 22117cf3aa..18071ab6bd 100644 --- a/package/whois/whois.mk +++ b/package/whois/whois.mk @@ -27,6 +27,11 @@ WHOIS_DEPENDENCIES += libidn WHOIS_MAKE_ENV += HAVE_LIBIDN=1 endif +ifeq ($(BR2_PACKAGE_LIBIDN2),y) +WHOIS_DEPENDENCIES += libidn2 +WHOIS_MAKE_ENV += HAVE_LIBIDN2=1 +endif + ifeq ($(BR2_SYSTEM_ENABLE_NLS),y) WHOIS_BUILD_TARGETS = WHOIS_INSTALL_TARGETS = install -- 2.30.2