From f00e599ccd75161e23e9fc882817b02f904a95ee Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sun, 1 Jul 2018 14:52:57 +0200 Subject: [PATCH] libucl: add optional libcurl dependency Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- package/libucl/libucl.mk | 7 +++++++ 1 file changed, 7 insertions(+) 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)) -- 2.30.2