libwebsockets: enable unix socket support in the full build 10966/head
authorMathew McBride <matt@traverse.com.au>
Wed, 8 Jan 2020 05:17:33 +0000 (16:17 +1100)
committerMathew McBride <matt@traverse.com.au>
Wed, 8 Jan 2020 05:41:34 +0000 (16:41 +1100)
This functionality can be used by downstream applications such as
ttyd to present their HTTP service as a unix domain socket rather
than a TCP server.

Signed-off-by: Mathew McBride <matt@traverse.com.au>
libs/libwebsockets/Makefile

index 7a180e3a33579f154f8f8b9812460fe6b6fda9ae..b71759b044f17d9f2ad1025e68d49f407994ea03 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=libwebsockets
 PKG_VERSION:=3.1.0
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
@@ -86,6 +86,7 @@ ifeq ($(BUILD_VARIANT),full)
     CMAKE_OPTIONS += -DLWS_WITH_SERVER_STATUS=ON
     CMAKE_OPTIONS += -DLWS_WITH_ACCESS_LOG=ON
     CMAKE_OPTIONS += -DLWS_WITH_CGI=ON
+    CMAKE_OPTIONS += -DLWS_UNIX_SOCK=ON
 endif
 
 define Package/libwebsockets/install