package/libwebsockets: add support for unix-domain sockets
authorMartin Elshuber <martin.elshuber@theobroma-systems.com>
Fri, 12 Jun 2020 11:31:53 +0000 (13:31 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sun, 14 Jun 2020 08:18:54 +0000 (10:18 +0200)
libwebsockets allows the usage of unix-domain-sockets since 2016, so
explicitly enable it (size increase is a ridiculous 12 bytes on ARM).

Signed-off-by: Martin Elshuber <martin.elshuber@theobroma-systems.com>
Signed-off-by: Heiko Stuebner <heiko.stuebner@theobroma-systems.com>
[yann.morin.1998@free.fr: always enable, don't add a menuconfig entry]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/libwebsockets/libwebsockets.mk

index dedd03347dd3e24540e15bd70111489db56c1a48..3af34a61ab807fc23a176dd32aa0a0900e4eedbe 100644 (file)
@@ -10,7 +10,10 @@ LIBWEBSOCKETS_LICENSE = LGPL-2.1 with exceptions
 LIBWEBSOCKETS_LICENSE_FILES = LICENSE
 LIBWEBSOCKETS_DEPENDENCIES = zlib
 LIBWEBSOCKETS_INSTALL_STAGING = YES
-LIBWEBSOCKETS_CONF_OPTS = -DLWS_WITHOUT_TESTAPPS=ON -DLWS_IPV6=ON
+LIBWEBSOCKETS_CONF_OPTS = \
+       -DLWS_WITHOUT_TESTAPPS=ON \
+       -DLWS_IPV6=ON \
+       -DLWS_UNIX_SOCK=ON
 
 # If LWS_MAX_SMP=1, then there is no code related to pthreads compiled
 # in the library. If unset, LWS_MAX_SMP defaults to 32 and a small