curl: add LIBCURL_WEBSOCKETS flag

Signed-off-by: Peter van Dijk <peter@7bits.nl>
This commit is contained in:
Peter van Dijk
2025-01-01 20:15:07 +01:00
committed by Rosen Penev
parent 0ea0a5f707
commit a33e08ec6b
2 changed files with 6 additions and 0 deletions

View File

@@ -45,6 +45,10 @@ config LIBCURL_HTTP
bool "HTTP / HTTPS protocol"
default y
config LIBCURL_WEBSOCKETS
bool "WebSockets protocol"
default n
config LIBCURL_COOKIES
bool "Enable Cookies support"
depends on LIBCURL_HTTP

View File

@@ -44,6 +44,7 @@ PKG_CONFIG_DEPENDS:= \
CONFIG_LIBCURL_FTP \
CONFIG_LIBCURL_GOPHER \
CONFIG_LIBCURL_HTTP \
CONFIG_LIBCURL_WEBSOCKETS \
CONFIG_LIBCURL_IMAP \
CONFIG_LIBCURL_LDAP \
CONFIG_LIBCURL_LDAPS \
@@ -153,6 +154,7 @@ CONFIGURE_ARGS += \
$(call autoconf_bool,CONFIG_LIBCURL_SMTP,smtp) \
$(call autoconf_bool,CONFIG_LIBCURL_TELNET,telnet) \
$(call autoconf_bool,CONFIG_LIBCURL_TFTP,tftp) \
$(call autoconf_bool,CONFIG_LIBCURL_WEBSOCKETS,websockets) \
\
$(call autoconf_bool,CONFIG_LIBCURL_COOKIES,cookies) \
$(call autoconf_bool,CONFIG_LIBCURL_CRYPTO_AUTH,crypto-auth) \