From 02091bcc25385c7699ea610d45d8fb4df7b6649d Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sun, 12 Aug 2018 22:29:29 +0200 Subject: [PATCH] package/vlc: add optional dependency to libnfs Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- package/vlc/vlc.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/package/vlc/vlc.mk b/package/vlc/vlc.mk index d34ab2a9e0..fab08b950d 100644 --- a/package/vlc/vlc.mk +++ b/package/vlc/vlc.mk @@ -71,7 +71,6 @@ VLC_CONF_OPTS += \ --disable-mmal \ --disable-mpg123 \ --disable-mtp \ - --disable-nfs \ --disable-notify \ --disable-projectm \ --disable-schroedinger \ @@ -311,6 +310,13 @@ else VLC_CONF_OPTS += --disable-libmpeg2 endif +ifeq ($(BR2_PACKAGE_LIBNFS),y) +VLC_CONF_OPTS += --enable-nfs +VLC_DEPENDENCIES += libnfs +else +VLC_CONF_OPTS += --disable-nfs +endif + ifeq ($(BR2_PACKAGE_LIBPNG),y) VLC_CONF_OPTS += --enable-png VLC_DEPENDENCIES += libpng -- 2.30.2