From: Adam Duskett Date: Thu, 15 Jun 2017 12:13:13 +0000 (-0400) Subject: janus-gateway: add unix-sockets to transport section X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6842b6774a2c7661af23ea681fcd3ae088160f34;p=buildroot.git janus-gateway: add unix-sockets to transport section Signed-off-by: Adam Duskett [Thomas: alphabetic ordering.] Signed-off-by: Thomas Petazzoni --- 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