package/vlc: enable gnutls if selected
authorMichele Comignano <comick@gmail.com>
Wed, 8 Apr 2020 19:48:33 +0000 (21:48 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Fri, 1 May 2020 19:17:38 +0000 (21:17 +0200)
Signed-off-by: Michele Comignano <comick@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/vlc/vlc.mk

index 801b99f884aa4c0f327afb4b421b7c3c9d3a08c0..76650eef7a1bd8fa7f5ac68c561607f5760f4086 100644 (file)
@@ -567,4 +567,11 @@ ifeq ($(BR2_PACKAGE_ZLIB),y)
 VLC_DEPENDENCIES += zlib
 endif
 
+ifeq ($(BR2_PACKAGE_GNUTLS),y)
+VLC_CONF_OPTS += --enable-gnutls
+VLC_DEPENDENCIES += gnutls
+else
+VLC_CONF_OPTS += --disable-gnutls
+endif
+
 $(eval $(autotools-package))