From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/2] mosquitto: enable WITH_ADNS for glibc builds
Date: Tue, 4 Apr 2017 21:37:30 +0200 [thread overview]
Message-ID: <1491334650-15708-2-git-send-email-fontaine.fabrice@gmail.com> (raw)
In-Reply-To: <1491334650-15708-1-git-send-email-fontaine.fabrice@gmail.com>
WITH_ADNS option has been added in version 1.4.11
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.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
--
2.5.0
next prev parent reply other threads:[~2017-04-04 19:37 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-04 19:37 [Buildroot] [PATCH 1/2] mosquitto: bump to version 1.4.11 Fabrice Fontaine
2017-04-04 19:37 ` Fabrice Fontaine [this message]
2017-04-07 22:52 ` [Buildroot] [PATCH 2/2] mosquitto: enable WITH_ADNS for glibc builds Peter Korsgaard
2017-04-04 20:01 ` [Buildroot] [PATCH 1/2] mosquitto: bump to version 1.4.11 Thomas Petazzoni
2017-04-04 20:29 ` Fabrice Fontaine
2017-04-04 20:31 ` Thomas Petazzoni
2017-04-07 22:52 ` Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1491334650-15708-2-git-send-email-fontaine.fabrice@gmail.com \
--to=fontaine.fabrice@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.