Commit 771c4603 authored by Max Kellermann's avatar Max Kellermann

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.
parent 85611aa4
ver 0.23.1 (not yet released) ver 0.23.1 (not yet released)
* fix libfmt linker problems
ver 0.23 (2021/10/14) ver 0.23 (2021/10/14)
* protocol * protocol
......
...@@ -51,6 +51,7 @@ upnp = static_library( ...@@ -51,6 +51,7 @@ upnp = static_library(
'Util.cxx', 'Util.cxx',
include_directories: inc, include_directories: inc,
dependencies: [ dependencies: [
log_dep,
upnp_dep, upnp_dep,
curl_dep, curl_dep,
expat_dep, expat_dep,
......
...@@ -25,6 +25,7 @@ neighbor_plugins = static_library( ...@@ -25,6 +25,7 @@ neighbor_plugins = static_library(
neighbor_plugins_sources, neighbor_plugins_sources,
include_directories: inc, include_directories: inc,
dependencies: [ dependencies: [
log_dep,
dbus_dep, dbus_dep,
smbclient_dep, smbclient_dep,
upnp_dep, upnp_dep,
......
...@@ -5,6 +5,7 @@ playlist_plugins_sources = [ ...@@ -5,6 +5,7 @@ playlist_plugins_sources = [
] ]
playlist_plugins_deps = [ playlist_plugins_deps = [
log_dep,
expat_dep, expat_dep,
flac_dep, flac_dep,
] ]
......
...@@ -44,6 +44,7 @@ storage_plugins = static_library( ...@@ -44,6 +44,7 @@ storage_plugins = static_library(
storage_plugins_sources, storage_plugins_sources,
include_directories: inc, include_directories: inc,
dependencies: [ dependencies: [
log_dep,
curl_dep, curl_dep,
dbus_dep, dbus_dep,
expat_dep, expat_dep,
......
...@@ -13,6 +13,7 @@ avahi = static_library( ...@@ -13,6 +13,7 @@ avahi = static_library(
'Publisher.cxx', 'Publisher.cxx',
include_directories: inc, include_directories: inc,
dependencies: [ dependencies: [
log_dep,
libavahi_client, libavahi_client,
], ],
) )
......
...@@ -127,6 +127,7 @@ if enable_inotify ...@@ -127,6 +127,7 @@ if enable_inotify
'../src/db/update/InotifySource.cxx', '../src/db/update/InotifySource.cxx',
include_directories: inc, include_directories: inc,
dependencies: [ dependencies: [
log_dep,
event_dep, event_dep,
util_dep, util_dep,
], ],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment