package/libcurl: add bearssl support
bearssl support is available since version 7.68.0 and
9b879160df
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
parent
fd833f596c
commit
984b91447a
|
@ -52,6 +52,10 @@ config BR2_PACKAGE_LIBCURL_OPENSSL
|
|||
bool "OpenSSL"
|
||||
depends on BR2_PACKAGE_OPENSSL
|
||||
|
||||
config BR2_PACKAGE_LIBCURL_BEARSSL
|
||||
bool "BearSSL"
|
||||
depends on BR2_PACKAGE_BEARSSL
|
||||
|
||||
config BR2_PACKAGE_LIBCURL_GNUTLS
|
||||
bool "GnuTLS"
|
||||
depends on BR2_PACKAGE_GNUTLS
|
||||
|
|
|
@ -51,6 +51,13 @@ else
|
|||
LIBCURL_CONF_OPTS += --without-ssl
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBCURL_BEARSSL),y)
|
||||
LIBCURL_CONF_OPTS += --with-bearssl=$(STAGING_DIR)/usr
|
||||
LIBCURL_DEPENDENCIES += bearssl
|
||||
else
|
||||
LIBCURL_CONF_OPTS += --without-bearssl
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBCURL_GNUTLS),y)
|
||||
LIBCURL_CONF_OPTS += --with-gnutls=$(STAGING_DIR)/usr \
|
||||
--with-ca-fallback
|
||||
|
|
Loading…
Reference in a new issue