Skip to contentSkip to conversation

libucl: add optional libcurl dependency

PATCH New Fabrice Fontaine 2 participants 2 messages Jul 1, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libucl: add optional libcurl dependency

---
 package/libucl/libucl.mk | 7 +++++++
 1 file changed, 7 insertions(+)
package/libucl/libucl.mk +7 -0
index 087fea683d..9f0378ad9c 100644
@@ -12,4 +12,11 @@ LIBUCL_LICENSE = BSD-2-Clause
 LIBUCL_LICENSE_FILES = COPYING
 LIBUCL_DEPENDENCIES = host-pkgconf
 
+ifeq ($(BR2_PACKAGE_LIBCURL),y)
+LIBUCL_DEPENDENCIES += libcurl
+LIBUCL_CONF_OPTS += --enable-urls
+else
+LIBUCL_CONF_OPTS += --disable-urls
+endif
+
 $(eval $(autotools-package))
Signature · 1 line
2.14.1
#1 lore raw

PATCH 1/1 libucl: add optional libcurl dependency

Hello,

Quoted 4 lines · Fabrice Fontaine
---
 package/libucl/libucl.mk | 7 +++++++
 1 file changed, 7 insertions(+)

Applied to master, thanks.

Thomas

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