package/dnsmasq: add libidn2 support
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Thu, 20 Jun 2019 16:23:24 +0000 (18:23 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 22 Jun 2019 07:57:00 +0000 (09:57 +0200)
commit026a27ade4a6f4e71b5da0c2b29f26bbbb1dbb45
tree7a8b3c4f38a86625c4ab3b9d1765df5e4ffa22b1
parentbb216ed060b16e09b2027ef242347b2f2e3c97dc
package/dnsmasq: add libidn2 support

libidn2 is preferred over libidn, see src/util.c:
 #if defined(HAVE_LIBIDN2)
 #include <idn2.h>
 #elif defined(HAVE_IDN)
 #include <idna.h>
 #endif

So select libidn2 if libidn is not enabled

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/dnsmasq/Config.in
package/dnsmasq/dnsmasq.mk