Skip to contentSkip to conversation

xerces: don't disable network without curl

PATCH New Fabrice Fontaine 2 participants 2 messages Oct 9, 2018 – Oct 10, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xerces: don't disable network without curl

curl is not the only network accessor, xerces can also use the socket API if sys/socket is available.
So replace --disable-network by --disable-netaccessor-curl

---
 package/xerces/xerces.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/xerces/xerces.mk +1 -1
index da088d8e1c..d74b1e2d3d 100644
@@ -34,7 +34,7 @@ ifeq ($(BR2_PACKAGE_LIBCURL),y)
 XERCES_CONF_OPTS += --enable-netaccessor-curl --with-curl=$(STAGING_DIR)/usr/lib
 XERCES_DEPENDENCIES += libcurl
 else
-XERCES_CONF_OPTS += --disable-network
+XERCES_CONF_OPTS += --disable-netaccessor-curl
 endif
 
 ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 xerces: don't disable network without curl

Hello,

Quoted 8 lines · Fabrice Fontaine

curl is not the only network accessor, xerces can also use the socket API if sys/socket is available.
So replace --disable-network by --disable-netaccessor-curl

---
 package/xerces/xerces.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com