package/mpd: fix reversed logic in tcp disable
In commit54b9008d48
("package/mpd: bump to version 0.21.11"), mpd was migrated from using the autotools build system to the meson build system. As part of this, the BR2_PACKAGE_MPD_TCP was incorrectly modified, leading BR2_PACKAGE_MPD_TCP disabled to actually enable TCP, and BR2_PACKAGE_MPD_TCP enabled to not explicitly enable TCP support. This commit fixes that by handling this option in the common way. Signed-off-by: Andreas Ziegler <br015@umbiko.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commitbe08ba3569
) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
00316d993a
commit
0c4c853483
@ -285,8 +285,10 @@ else
|
||||
MPD_CONF_OPTS += -Dsqlite=disabled
|
||||
endif
|
||||
|
||||
ifneq ($(BR2_PACKAGE_MPD_TCP),y)
|
||||
ifeq ($(BR2_PACKAGE_MPD_TCP),y)
|
||||
MPD_CONF_OPTS += -Dtcp=true
|
||||
else
|
||||
MPD_CONF_OPTS += -Dtcp=false
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_MPD_TREMOR),y)
|
||||
|
Loading…
Reference in New Issue
Block a user