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>
(cherry picked from commit 60cf07079b)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2022.11.x
Fabrice Fontaine 2023-01-14 18:01:25 +01:00 committed by Peter Korsgaard
parent aab29257d4
commit 352f5bd46c
1 changed files with 7 additions and 0 deletions

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