mpd: add support for libupnp18
Instead of selecting BR2_PACKAGE_LIBUPNP, select BR2_PACKAGE_LIBUPNP18 if BR2_PACKAGE_LIBUPNP is not enabled Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
cc22fb65c3
commit
252218881b
@ -309,7 +309,7 @@ config BR2_PACKAGE_MPD_TCP
|
||||
config BR2_PACKAGE_MPD_UPNP
|
||||
bool "UPnP"
|
||||
select BR2_PACKAGE_EXPAT
|
||||
select BR2_PACKAGE_LIBUPNP
|
||||
select BR2_PACKAGE_LIBUPNP18 if !BR2_PACKAGE_LIBUPNP
|
||||
help
|
||||
Enable MPD UPnP client support.
|
||||
|
||||
|
@ -236,7 +236,9 @@ MPD_CONF_OPTS += --disable-twolame-encoder
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_MPD_UPNP),y)
|
||||
MPD_DEPENDENCIES += expat libupnp
|
||||
MPD_DEPENDENCIES += \
|
||||
expat \
|
||||
$(if $(BR2_PACKAGE_LIBUPNP),libupnp,libupnp18)
|
||||
MPD_CONF_OPTS += --enable-upnp
|
||||
else
|
||||
MPD_CONF_OPTS += --disable-upnp
|
||||
|
Loading…
Reference in New Issue
Block a user