meson.build: add missing libfmt dependencies

Fixes https://github.com/MusicPlayerDaemon/MPD/discussions/1281

The problem occurred when there was libfmt-dev installed, but it was
too old (e.g. on Debian Buster), and Meson used the wrap fallback.
Those internal MPD libraries where the libfmt dependency was not
declared were still using the old system libfmt headers, which are not
ABI-compatible with MPD's own libfmt build.
This commit is contained in:
Max Kellermann 2021-10-15 14:22:37 +02:00
parent 85611aa456
commit 771c46032f
7 changed files with 7 additions and 0 deletions

1
NEWS
View File

@ -1,4 +1,5 @@
ver 0.23.1 (not yet released)
* fix libfmt linker problems
ver 0.23 (2021/10/14)
* protocol

View File

@ -51,6 +51,7 @@ upnp = static_library(
'Util.cxx',
include_directories: inc,
dependencies: [
log_dep,
upnp_dep,
curl_dep,
expat_dep,

View File

@ -25,6 +25,7 @@ neighbor_plugins = static_library(
neighbor_plugins_sources,
include_directories: inc,
dependencies: [
log_dep,
dbus_dep,
smbclient_dep,
upnp_dep,

View File

@ -5,6 +5,7 @@ playlist_plugins_sources = [
]
playlist_plugins_deps = [
log_dep,
expat_dep,
flac_dep,
]

View File

@ -44,6 +44,7 @@ storage_plugins = static_library(
storage_plugins_sources,
include_directories: inc,
dependencies: [
log_dep,
curl_dep,
dbus_dep,
expat_dep,

View File

@ -13,6 +13,7 @@ avahi = static_library(
'Publisher.cxx',
include_directories: inc,
dependencies: [
log_dep,
libavahi_client,
],
)

View File

@ -127,6 +127,7 @@ if enable_inotify
'../src/db/update/InotifySource.cxx',
include_directories: inc,
dependencies: [
log_dep,
event_dep,
util_dep,
],