From: Bernd Kuhls Date: Sun, 12 Aug 2018 20:29:29 +0000 (+0200) Subject: package/vlc: add optional dependency to libnfs X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=02091bcc25385c7699ea610d45d8fb4df7b6649d;p=buildroot.git package/vlc: add optional dependency to libnfs Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- 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