libucl: add optional libcurl dependency

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018.08.x
Fabrice Fontaine 2018-07-01 14:52:57 +02:00 committed by Thomas Petazzoni
parent e46257264e
commit f00e599ccd
1 changed files with 7 additions and 0 deletions

View File

@ -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))