curl: add LIBCURL_WEBSOCKETS flag
authorPeter van Dijk <peter@7bits.nl>
Wed, 1 Jan 2025 19:15:07 +0000 (20:15 +0100)
committerRosen Penev <rosenp@gmail.com>
Tue, 7 Jan 2025 03:26:13 +0000 (19:26 -0800)
Signed-off-by: Peter van Dijk <peter@7bits.nl>
net/curl/Config.in
net/curl/Makefile

index 29865a87a7afd51e22125dc96f47766ee88f9c71..04f03a5bd2e476a4bccb7d9391cea2e86e150362 100644 (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
index 5210f8c8d7fab76c64544befcee2fa3272211ada..fe529fa4124f0ac3fa1b7c9a92bc213a9bf6a631 100644 (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) \