Message ID | 20230114170126.1085188-1-fontaine.fabrice@gmail.com |
---|---|
State | Accepted |
Headers | show |
Series | [1/2] package/janus-gateway: add libcurl optional dependency | expand |
On Sat, 14 Jan 2023 18:01:25 +0100 Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote: > 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> > --- > package/janus-gateway/janus-gateway.mk | 7 +++++++ > 1 file changed, 7 insertions(+) Both applied, thanks! Thomas
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes: > 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> Committed to 2022.11.x and 2022.02.x, thanks.
diff --git a/package/janus-gateway/janus-gateway.mk b/package/janus-gateway/janus-gateway.mk index 0d906f1b62..dd898563e5 100644 --- a/package/janus-gateway/janus-gateway.mk +++ b/package/janus-gateway/janus-gateway.mk @@ -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
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> --- package/janus-gateway/janus-gateway.mk | 7 +++++++ 1 file changed, 7 insertions(+)