diff --git a/NEWS b/NEWS index 8b220ec7f..2cd586d7d 100644 --- a/NEWS +++ b/NEWS @@ -9,6 +9,7 @@ ver 0.21.1 (not yet released) * fix build failure on Linux-PowerPC * fix build failure on FreeBSD * eliminate DLL dependencies on Windows +* refuse to build with buggy Boost version 1.67 * require Meson 0.47.2 because a Meson 0.47.1 bug breaks our build ver 0.21 (2018/10/31) diff --git a/meson.build b/meson.build index 5d15133d5..7a747c18f 100644 --- a/meson.build +++ b/meson.build @@ -172,6 +172,11 @@ inc = include_directories( ) boost_dep = dependency('boost', version: '>= 1.58') +if boost_dep.version() == '1.67' + # https://github.com/MusicPlayerDaemon/MPD/pull/384 + # https://github.com/boostorg/lockfree/commit/12726cda009a855073b9bedbdce57b6ce7763da2 + error('Your Boost version 1.67 is known to be buggy, and the MPD build will fail. Please upgrade to Boost 1.68 or later.') +endif sources = [ version_cxx,