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
|
config BR2_PACKAGE_MPD_UPNP
|
||||||
bool "UPnP"
|
bool "UPnP"
|
||||||
select BR2_PACKAGE_EXPAT
|
select BR2_PACKAGE_EXPAT
|
||||||
select BR2_PACKAGE_LIBUPNP
|
select BR2_PACKAGE_LIBUPNP18 if !BR2_PACKAGE_LIBUPNP
|
||||||
help
|
help
|
||||||
Enable MPD UPnP client support.
|
Enable MPD UPnP client support.
|
||||||
|
|
||||||
|
@ -236,7 +236,9 @@ MPD_CONF_OPTS += --disable-twolame-encoder
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_MPD_UPNP),y)
|
ifeq ($(BR2_PACKAGE_MPD_UPNP),y)
|
||||||
MPD_DEPENDENCIES += expat libupnp
|
MPD_DEPENDENCIES += \
|
||||||
|
expat \
|
||||||
|
$(if $(BR2_PACKAGE_LIBUPNP),libupnp,libupnp18)
|
||||||
MPD_CONF_OPTS += --enable-upnp
|
MPD_CONF_OPTS += --enable-upnp
|
||||||
else
|
else
|
||||||
MPD_CONF_OPTS += --disable-upnp
|
MPD_CONF_OPTS += --disable-upnp
|
||||||
|
Loading…
Reference in New Issue
Block a user