mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-27 21:26:36 +00:00
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"
|
bool "OpenSSL"
|
||||||
depends on BR2_PACKAGE_OPENSSL
|
depends on BR2_PACKAGE_OPENSSL
|
||||||
|
|
||||||
|
config BR2_PACKAGE_LIBCURL_BEARSSL
|
||||||
|
bool "BearSSL"
|
||||||
|
depends on BR2_PACKAGE_BEARSSL
|
||||||
|
|
||||||
config BR2_PACKAGE_LIBCURL_GNUTLS
|
config BR2_PACKAGE_LIBCURL_GNUTLS
|
||||||
bool "GnuTLS"
|
bool "GnuTLS"
|
||||||
depends on BR2_PACKAGE_GNUTLS
|
depends on BR2_PACKAGE_GNUTLS
|
||||||
|
@ -51,6 +51,13 @@ else
|
|||||||
LIBCURL_CONF_OPTS += --without-ssl
|
LIBCURL_CONF_OPTS += --without-ssl
|
||||||
endif
|
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)
|
ifeq ($(BR2_PACKAGE_LIBCURL_GNUTLS),y)
|
||||||
LIBCURL_CONF_OPTS += --with-gnutls=$(STAGING_DIR)/usr \
|
LIBCURL_CONF_OPTS += --with-gnutls=$(STAGING_DIR)/usr \
|
||||||
--with-ca-fallback
|
--with-ca-fallback
|
||||||
|
Loading…
x
Reference in New Issue
Block a user