Skip to content

Commit

Permalink
mpd: Try using older boost for older gcc <= 4.9.4
Browse files Browse the repository at this point in the history
  • Loading branch information
th0ma7 committed Mar 22, 2024
1 parent 124e58d commit 754142a
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions cross/mpd/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,22 @@ DEPENDS += cross/libshout
DEPENDS += cross/opus
DEPENDS += cross/soxr
DEPENDS += cross/curl
DEPENDS += cross/boost_1.82

OPTIONAL_DEPENDS = cross/boost_1.68 cross/boost_1.82

HOMEPAGE = https://www.musicpd.org/
COMMENT = Music Player Daemon (MPD) is a flexible, powerful, server-side application for playing music.
LICENSE = GPLv2

include ../../mk/spksrc.cross-meson.mk

ifeq ($(call version_lt, $(TC_GCC), 5),1)
DEPENDS += cross/boost_1.68
BOOST_BUILD_PATH=$(WORK_DIR)/boost_1_68_0
else
DEPENDS += cross/boost_1.82
BOOST_BUILD_PATH=$(WORK_DIR)/boost_1_82_0
endif
BOOST_LIBRARIES += system
ENV += BOOST_INCLUDEDIR="$(BOOST_BUILD_PATH)/boost"
ENV += BOOST_LIBRARYDIR="$(BOOST_BUILD_PATH)/libs"

include ../../mk/spksrc.cross-meson.mk

0 comments on commit 754142a

Please sign in to comment.