package/vlc: enable gnutls if selected

Signed-off-by: Michele Comignano <comick@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Michele Comignano 2020-04-08 21:48:33 +02:00 committed by Yann E. MORIN
parent b0059dabfd
commit 8d3a5da884

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