From 8ed6d730959b1f988dd43a511c40b9419bb2b0db Mon Sep 17 00:00:00 2001 From: Marco d'Itri Date: Mon, 27 Feb 2017 00:32:43 +0100 Subject: Implement support for libidn2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Contributed by Tim Rühsen. Closes #49 from Github. --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 28eb36f..74ccb00 100644 --- a/Makefile +++ b/Makefile @@ -32,10 +32,15 @@ ifdef LOCALEDIR DEFS += -DLOCALEDIR=\"$(BASEDIR)$(prefix)/share/locale\" endif +ifdef HAVE_LIBIDN2 +whois_LDADD += -lidn2 +DEFS += -DHAVE_LIBIDN2 +else ifdef HAVE_LIBIDN whois_LDADD += -lidn DEFS += -DHAVE_LIBIDN endif +endif ifdef HAVE_ICONV whois_OBJECTS += simple_recode.o -- cgit v1.2.3