From: Martin Elshuber Date: Fri, 12 Jun 2020 11:31:53 +0000 (+0200) Subject: package/libwebsockets: add support for unix-domain sockets X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6524317ecdfe620c5ee47ccce756e67e64c5acfc;p=buildroot.git package/libwebsockets: add support for unix-domain sockets 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 Signed-off-by: Heiko Stuebner [yann.morin.1998@free.fr: always enable, don't add a menuconfig entry] Signed-off-by: Yann E. MORIN --- diff --git a/package/libwebsockets/libwebsockets.mk b/package/libwebsockets/libwebsockets.mk index dedd03347d..3af34a61ab 100644 --- a/package/libwebsockets/libwebsockets.mk +++ b/package/libwebsockets/libwebsockets.mk @@ -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