All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/libstrophe: add c-ares optional dependency
@ 2023-10-01 15:25 Fabrice Fontaine
  2023-11-04 21:36 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2023-10-01 15:25 UTC (permalink / raw)
  To: buildroot; +Cc: Denis Bodor, Michael Vetter, Fabrice Fontaine

c-ares is an optional dependency since version 0.10.0 and
https://github.com/strophe/libstrophe/commit/a13847d9949f05920f94768495872807ae49c773

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/libstrophe/libstrophe.mk | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/package/libstrophe/libstrophe.mk b/package/libstrophe/libstrophe.mk
index de9012e67f..ad0860ad30 100644
--- a/package/libstrophe/libstrophe.mk
+++ b/package/libstrophe/libstrophe.mk
@@ -13,6 +13,13 @@ LIBSTROPHE_LICENSE_FILES = MIT-LICENSE.txt GPL-LICENSE.txt
 LIBSTROPHE_INSTALL_STAGING = YES
 LIBSTROPHE_CONF_OPTS = --disable-examples
 
+ifeq ($(BR2_PACKAGE_C_ARES),y)
+LIBSTROPHE_CONF_OPTS += --enable-cares
+LIBSTROPHE_DEPENDENCIES += c-ares
+else
+LIBSTROPHE_CONF_OPTS += --disable-cares
+endif
+
 ifeq ($(BR2_PACKAGE_EXPAT),y)
 LIBSTROPHE_CONF_OPTS += --without-libxml2
 LIBSTROPHE_DEPENDENCIES += expat
-- 
2.40.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-11-04 21:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-01 15:25 [Buildroot] [PATCH 1/1] package/libstrophe: add c-ares optional dependency Fabrice Fontaine
2023-11-04 21:36 ` Thomas Petazzoni via buildroot

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.