summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabrice Fontaine <fontaine.fabrice@gmail.com>2018-07-01 14:52:57 +0200
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-07-01 14:58:45 +0200
commitf00e599ccd75161e23e9fc882817b02f904a95ee (patch)
tree44e429c88452e355ed4ccfdf2108a79b799f3203
parente46257264ed773a9c2b94e0e4f0131187a8940ba (diff)
downloadbuildroot-f00e599ccd75161e23e9fc882817b02f904a95ee.tar.gz
buildroot-f00e599ccd75161e23e9fc882817b02f904a95ee.zip
libucl: add optional libcurl dependency
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/libucl/libucl.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/libucl/libucl.mk b/package/libucl/libucl.mk
index 087fea683d..9f0378ad9c 100644
--- a/package/libucl/libucl.mk
+++ b/package/libucl/libucl.mk
@@ -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))
OpenPOWER on IntegriCloud