From: Fabrice Fontaine Date: Tue, 4 Apr 2017 19:37:30 +0000 (+0200) Subject: mosquitto: enable WITH_ADNS for glibc builds X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f78b2c13d1a5b4a7903186cf6cc53299791d0da5;p=buildroot.git mosquitto: enable WITH_ADNS for glibc builds WITH_ADNS option has been added in version 1.4.11 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- diff --git a/package/mosquitto/mosquitto.mk b/package/mosquitto/mosquitto.mk index c273c98414..9ffd149a75 100644 --- a/package/mosquitto/mosquitto.mk +++ b/package/mosquitto/mosquitto.mk @@ -17,6 +17,13 @@ MOSQUITTO_MAKE_OPTS = \ WITH_WRAP=no \ WITH_DOCS=no +# adns uses getaddrinfo_a +ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),y) +MOSQUITTO_MAKE_OPTS += WITH_ADNS=yes +else +MOSQUITTO_MAKE_OPTS += WITH_ADNS=no +endif + ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) MOSQUITTO_MAKE_OPTS += WITH_THREADING=yes else