curl: add openssl 3.2+ quic support

Signed-off-by: sbwml <admin@cooluc.com>
This commit is contained in:
sbwml 2024-04-02 10:37:48 +08:00
parent 56fc3a2962
commit efee289638
2 changed files with 9 additions and 2 deletions

View File

@ -111,8 +111,13 @@ config LIBCURL_NGHTTP3
default n default n
config LIBCURL_NGTCP2 config LIBCURL_NGTCP2
bool "QUIC protocol" bool "QUIC protocol (ngtcp2)"
depends on LIBCURL_OPENSSL depends on LIBCURL_OPENSSL && LIBCURL_NGHTTP3 && !LIBCURL_OPENSSL_QUIC
default n
config LIBCURL_OPENSSL_QUIC
bool "QUIC protocol (openssl quic)"
depends on LIBCURL_OPENSSL && LIBCURL_NGHTTP3 && !LIBCURL_NGTCP2
default n default n
comment "Miscellaneous" comment "Miscellaneous"

View File

@ -60,6 +60,7 @@ PKG_CONFIG_DEPENDS:= \
CONFIG_LIBCURL_NGHTTP2 \ CONFIG_LIBCURL_NGHTTP2 \
CONFIG_LIBCURL_NGHTTP3 \ CONFIG_LIBCURL_NGHTTP3 \
CONFIG_LIBCURL_NGTCP2 \ CONFIG_LIBCURL_NGTCP2 \
CONFIG_LIBCURL_OPENSSL_QUIC \
\ \
CONFIG_LIBCURL_COOKIES \ CONFIG_LIBCURL_COOKIES \
CONFIG_LIBCURL_CRYPTO_AUTH \ CONFIG_LIBCURL_CRYPTO_AUTH \
@ -139,6 +140,7 @@ CONFIGURE_ARGS += \
$(if $(CONFIG_LIBCURL_NGHTTP2),--with-nghttp2="$(STAGING_DIR)/usr",--without-nghttp2) \ $(if $(CONFIG_LIBCURL_NGHTTP2),--with-nghttp2="$(STAGING_DIR)/usr",--without-nghttp2) \
$(if $(CONFIG_LIBCURL_NGHTTP3),--with-nghttp3="$(STAGING_DIR)/usr",--without-nghttp3) \ $(if $(CONFIG_LIBCURL_NGHTTP3),--with-nghttp3="$(STAGING_DIR)/usr",--without-nghttp3) \
$(if $(CONFIG_LIBCURL_NGTCP2),--with-ngtcp2="$(STAGING_DIR)/usr",--without-ngtcp2) \ $(if $(CONFIG_LIBCURL_NGTCP2),--with-ngtcp2="$(STAGING_DIR)/usr",--without-ngtcp2) \
$(if $(CONFIG_LIBCURL_OPENSSL_QUIC),--with-openssl-quic,--without-openssl-quic) \
\ \
$(call autoconf_bool,CONFIG_LIBCURL_DICT,dict) \ $(call autoconf_bool,CONFIG_LIBCURL_DICT,dict) \
$(call autoconf_bool,CONFIG_LIBCURL_FILE,file) \ $(call autoconf_bool,CONFIG_LIBCURL_FILE,file) \