From 083d39ea807da11888c31a1325a7d30ac7d40381 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 22 Dec 2023 18:01:29 +0100 Subject: [PATCH] decoder/plugins/meson.build: add missing dependency to libid3tag --- src/decoder/plugins/meson.build | 4 ++++ test/meson.build | 1 + 2 files changed, 5 insertions(+) diff --git a/src/decoder/plugins/meson.build b/src/decoder/plugins/meson.build index cd6740494..251454ee3 100644 --- a/src/decoder/plugins/meson.build +++ b/src/decoder/plugins/meson.build @@ -1,6 +1,7 @@ decoder_plugins_sources = [ 'PcmDecoderPlugin.cxx', ] +decoder_plugins_dependencies = [] if get_option('dsd') decoder_plugins_sources += [ @@ -9,6 +10,7 @@ if get_option('dsd') 'DsfDecoderPlugin.cxx', 'DsdLib.cxx', ] + decoder_plugins_dependencies += libid3tag_dep endif if ffmpeg_dep.found() @@ -91,6 +93,7 @@ libmad_dep = c_compiler.find_library('mad', required: get_option('mad')) decoder_features.set('ENABLE_MAD', libmad_dep.found()) if libmad_dep.found() decoder_plugins_sources += 'MadDecoderPlugin.cxx' + decoder_plugins_dependencies += libid3tag_dep endif libmikmod_dep = dependency('libmikmod', version: '>= 3.2', required: get_option('mikmod')) @@ -188,6 +191,7 @@ decoder_plugins = static_library( decoder_plugins_sources, include_directories: inc, dependencies: [ + decoder_plugins_dependencies, adplug_dep, ffmpeg_dep, flac_dep, diff --git a/test/meson.build b/test/meson.build index c4746407a..f098527d8 100644 --- a/test/meson.build +++ b/test/meson.build @@ -483,6 +483,7 @@ if libid3tag_dep.found() tag_dep, input_glue_dep, archive_glue_dep, + libid3tag_dep, ], ) endif