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
ca9c0a86f9

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 18:01:25 +01:00 committed by Thomas Petazzoni
parent 06aa16e234
commit 60cf07079b

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