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:
parent
f9f5b3a6cb
commit
8e934b7204
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user