diff options
author | Marco d'Itri <md@linux.it> | 2017-02-27 00:32:43 +0100 |
---|---|---|
committer | Marco d'Itri <md@linux.it> | 2017-02-27 00:32:43 +0100 |
commit | 8ed6d730959b1f988dd43a511c40b9419bb2b0db (patch) | |
tree | 10168e7c8e0e1e77cd2cdc32b2c74e70c6ee2d34 /Makefile | |
parent | cf61394ded7532b339f22411cf048c83a70277bb (diff) | |
download | whois-8ed6d730959b1f988dd43a511c40b9419bb2b0db.tar.gz |
Implement support for libidn2
Contributed by Tim Rühsen.
Closes #49 from Github.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |