package/janus-gateway: add libcurl optional dependency

libcurl is an optional dependency which is enabled by default since at
least version 0.0.9 and
https://github.com/meetecho/janus-gateway/commit/ca9c0a86f975f88fbdd791af3cb4f8986883c1c2

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine
2023-01-14 21:06:58 +01:00
committed by Thomas Petazzoni
parent 06aa16e234
commit 60cf07079b
+7
View File
@@ -128,6 +128,13 @@ else
JANUS_GATEWAY_CONF_OPTS += --disable-websockets
endif
ifeq ($(BR2_PACKAGE_LIBCURL),y)
JANUS_GATEWAY_DEPENDENCIES += libcurl
JANUS_GATEWAY_CONF_OPTS += --enable-turn-rest-api
else
JANUS_GATEWAY_CONF_OPTS += --disable-turn-rest-api
endif
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
JANUS_GATEWAY_DEPENDENCIES += systemd
JANUS_GATEWAY_CONF_OPTS += --enable-systemd-sockets