From 6842b6774a2c7661af23ea681fcd3ae088160f34 Mon Sep 17 00:00:00 2001 From: Adam Duskett Date: Thu, 15 Jun 2017 08:13:13 -0400 Subject: [PATCH] janus-gateway: add unix-sockets to transport section Signed-off-by: Adam Duskett [Thomas: alphabetic ordering.] Signed-off-by: Thomas Petazzoni --- package/janus-gateway/Config.in | 4 ++++ package/janus-gateway/janus-gateway.mk | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/package/janus-gateway/Config.in b/package/janus-gateway/Config.in index b0e4ae9260..5bd4e9586b 100644 --- a/package/janus-gateway/Config.in +++ b/package/janus-gateway/Config.in @@ -81,6 +81,10 @@ config BR2_PACKAGE_JANUS_REST comment "REST transport needs a toolchain w/ threads" depends on !BR2_TOOLCHAIN_HAS_THREADS +config BR2_PACKAGE_JANUS_UNIX_SOCKETS + bool "Unix Sockets" + default y + config BR2_PACKAGE_JANUS_WEBSOCKETS bool "WebSockets" depends on BR2_USE_MMU diff --git a/package/janus-gateway/janus-gateway.mk b/package/janus-gateway/janus-gateway.mk index b19ed54d91..b32fc9ac56 100644 --- a/package/janus-gateway/janus-gateway.mk +++ b/package/janus-gateway/janus-gateway.mk @@ -104,6 +104,12 @@ else JANUS_GATEWAY_CONF_OPTS += --disable-rest endif +ifeq ($(BR2_PACKAGE_JANUS_UNIX_SOCKETS),y) +JANUS_GATEWAY_CONF_OPTS += --enable-unix-sockets +else +JANUS_GATEWAY_CONF_OPTS += --disable-unix-sockets +endif + ifeq ($(BR2_PACKAGE_JANUS_WEBSOCKETS),y) JANUS_GATEWAY_DEPENDENCIES += libwebsockets JANUS_GATEWAY_CONF_OPTS += --enable-websockets -- 2.30.2