aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Adam Duskett <Aduskett@gmail.com>2020-06-14 14:19:13 -0700
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2020-06-18 22:14:19 +0200
commit190d563b3847b9357835e0b6333c24cbc67c46d2 (patch)
tree8196a219b47eb94b83309744b52f7bbb33c87e72
parent2ad29557fceb3f87f7a3b53b31788f8eca2ba448 (diff)
downloadbuildroot-190d563b3847b9357835e0b6333c24cbc67c46d2.tar.gz
buildroot-190d563b3847b9357835e0b6333c24cbc67c46d2.tar.bz2
package/janus-gateway: add systemd socket support
If systemd is selected, add the systemd package to the dependency list and set the conf opt --enable-systemd-sockets. Signed-off-by: Adam Duskett <Aduskett@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/janus-gateway/janus-gateway.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/janus-gateway/janus-gateway.mk b/package/janus-gateway/janus-gateway.mk
index 0ecd83fce1..56b7d67332 100644
--- a/package/janus-gateway/janus-gateway.mk
+++ b/package/janus-gateway/janus-gateway.mk
@@ -112,4 +112,11 @@ else
JANUS_GATEWAY_CONF_OPTS += --disable-websockets
endif
+ifeq ($(BR2_PACKAGE_SYSTEMD),y)
+JANUS_GATEWAY_DEPENDENCIES += systemd
+JANUS_GATEWAY_CONF_OPTS += --enable-systemd-sockets
+else
+JANUS_GATEWAY_CONF_OPTS += --disable-systemd-sockets
+endif
+
$(eval $(autotools-package))