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))