package/libstrophe: add c-ares optional dependency

c-ares is an optional dependency since version 0.10.0 and
a13847d994

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2023-10-01 17:25:18 +02:00 committed by Thomas Petazzoni
parent f9f5b3a6cb
commit 8e934b7204

View File

@ -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