mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
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:
committed by
Peter Korsgaard
parent
99d5bacae6
commit
bdc97b988c
@@ -407,6 +407,7 @@ config BR2_PACKAGE_MPD_UPNP_PUPNP
|
|||||||
|
|
||||||
config BR2_PACKAGE_MPD_UPNP_NPUPNP
|
config BR2_PACKAGE_MPD_UPNP_NPUPNP
|
||||||
bool "npupnp"
|
bool "npupnp"
|
||||||
|
select BR2_PACKAGE_EXPAT
|
||||||
select BR2_PACKAGE_LIBNPUPNP
|
select BR2_PACKAGE_LIBNPUPNP
|
||||||
select BR2_PACKAGE_MPD_CURL
|
select BR2_PACKAGE_MPD_CURL
|
||||||
help
|
help
|
||||||
|
|||||||
@@ -312,6 +312,7 @@ MPD_DEPENDENCIES += \
|
|||||||
MPD_CONF_OPTS += -Dupnp=pupnp
|
MPD_CONF_OPTS += -Dupnp=pupnp
|
||||||
else ifeq ($(BR2_PACKAGE_MPD_UPNP_NPUPNP),y)
|
else ifeq ($(BR2_PACKAGE_MPD_UPNP_NPUPNP),y)
|
||||||
MPD_DEPENDENCIES += \
|
MPD_DEPENDENCIES += \
|
||||||
|
expat \
|
||||||
libnpupnp
|
libnpupnp
|
||||||
MPD_CONF_OPTS += -Dupnp=npupnp
|
MPD_CONF_OPTS += -Dupnp=npupnp
|
||||||
else ifeq ($(BR2_PACKAGE_MPD_UPNP_DISABLED),y)
|
else ifeq ($(BR2_PACKAGE_MPD_UPNP_DISABLED),y)
|
||||||
|
|||||||
Reference in New Issue
Block a user