* [Buildroot] [git commit] mosquitto: enable WITH_ADNS for glibc builds
@ 2017-04-07 22:25 Peter Korsgaard
0 siblings, 0 replies; only message in thread
From: Peter Korsgaard @ 2017-04-07 22:25 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=f78b2c13d1a5b4a7903186cf6cc53299791d0da5
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
WITH_ADNS option has been added in version 1.4.11
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
package/mosquitto/mosquitto.mk | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/package/mosquitto/mosquitto.mk b/package/mosquitto/mosquitto.mk
index c273c98..9ffd149 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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2017-04-07 22:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-07 22:25 [Buildroot] [git commit] mosquitto: enable WITH_ADNS for glibc builds Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.