Browse Source

libwebsockets: enable unix socket support in the full build

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>
lilik-openwrt-22.03
Mathew McBride 5 years ago
parent
commit
19c284e05d
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      libs/libwebsockets/Makefile

+ 2
- 1
libs/libwebsockets/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=libwebsockets PKG_NAME:=libwebsockets
PKG_VERSION:=3.1.0 PKG_VERSION:=3.1.0
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) 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_SERVER_STATUS=ON
CMAKE_OPTIONS += -DLWS_WITH_ACCESS_LOG=ON CMAKE_OPTIONS += -DLWS_WITH_ACCESS_LOG=ON
CMAKE_OPTIONS += -DLWS_WITH_CGI=ON CMAKE_OPTIONS += -DLWS_WITH_CGI=ON
CMAKE_OPTIONS += -DLWS_UNIX_SOCK=ON
endif endif
define Package/libwebsockets/install define Package/libwebsockets/install


Loading…
Cancel
Save