[Buildroot] [git commit] package/vlc: enable gnutls if selected

Yann E. MORIN yann.morin.1998 at free.fr
Fri May 1 19:17:38 UTC 2020


commit: https://git.buildroot.net/buildroot/commit/?id=8d3a5da8848cc4f90ebcde46b594c28466641a9f
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Signed-off-by: Michele Comignano <comick at gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
---
 package/vlc/vlc.mk | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/package/vlc/vlc.mk b/package/vlc/vlc.mk
index 801b99f884..76650eef7a 100644
--- a/package/vlc/vlc.mk
+++ b/package/vlc/vlc.mk
@@ -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))


More information about the buildroot mailing list