package/mpd: ensure expat is enabled when BR2_PACKAGE_MPD_UPNP_NPUPNP=y
Just like BR2_PACKAGE_MPD_UPNP_PUPNP needs expat and curl support,
BR2_PACKAGE_MPD_UPNP_NPUPNP also needs expat and curl. curl was
already selected, but not expat. It didn't cause any visible issue, as
BR2_PACKAGE_MPD_UPNP_NPUPNP selects BR2_PACKAGE_LIBNPUPNP, which
itself select BR2_PACKAGE_EXPAT. But as mpd directly checks for the
availability of expat, it makes sense to also select it directly.
Signed-off-by: Andreas Ziegler <br015@umbiko.net>
[Thomas: extracted from a larger patch at
https://patchwork.ozlabs.org/project/buildroot/patch/20221005091032.3014-5-br015@umbiko.net/]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 6cdb48a048
)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
1ae271d78f
commit
b7fa53adfd
@ -407,6 +407,7 @@ config BR2_PACKAGE_MPD_UPNP_PUPNP
|
||||
|
||||
config BR2_PACKAGE_MPD_UPNP_NPUPNP
|
||||
bool "npupnp"
|
||||
select BR2_PACKAGE_EXPAT
|
||||
select BR2_PACKAGE_LIBNPUPNP
|
||||
select BR2_PACKAGE_MPD_CURL
|
||||
help
|
||||
|
@ -312,6 +312,7 @@ MPD_DEPENDENCIES += \
|
||||
MPD_CONF_OPTS += -Dupnp=pupnp
|
||||
else ifeq ($(BR2_PACKAGE_MPD_UPNP_NPUPNP),y)
|
||||
MPD_DEPENDENCIES += \
|
||||
expat \
|
||||
libnpupnp
|
||||
MPD_CONF_OPTS += -Dupnp=npupnp
|
||||
else ifeq ($(BR2_PACKAGE_MPD_UPNP_DISABLED),y)
|
||||
|
Loading…
Reference in New Issue
Block a user