summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/whois/whois.mk5
1 files changed, 5 insertions, 0 deletions
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
OpenPOWER on IntegriCloud