diff --git a/package/vlc/vlc.mk b/package/vlc/vlc.mk index 30520c3072..febd9e0319 100644 --- a/package/vlc/vlc.mk +++ b/package/vlc/vlc.mk @@ -288,6 +288,13 @@ else VLC_CONF_OPTS += --disable-upnp endif +ifeq ($(BR2_PACKAGE_LIBUPNP18),y) +VLC_CONF_OPTS += --enable-upnp +VLC_DEPENDENCIES += libupnp18 +else +VLC_CONF_OPTS += --disable-upnp +endif + ifeq ($(BR2_PACKAGE_LIBVNCSERVER),y) VLC_CONF_OPTS += --enable-vnc VLC_DEPENDENCIES += libvncserver