summaryrefslogtreecommitdiff
path: root/src/decoder/plugins/meson.build
diff options
context:
space:
mode:
authorGrimReaperFloof <GrimReaperFloof@users.noreply.github.com>2021-05-11 20:05:26 +0200
committerMax Kellermann <max@musicpd.org>2021-05-19 09:53:39 +0200
commita134f692bf67f5851542d732c4a547f41d6d1da2 (patch)
treec4cf5ec9fb6b11c9bc03207c68a6e79733f53a74 /src/decoder/plugins/meson.build
parentd747576793bccb4d80df951ca92981efc8cfff31 (diff)
Code deduplication: move mod_loadfile() into ModCommon.cxx
Diffstat (limited to 'src/decoder/plugins/meson.build')
-rw-r--r--src/decoder/plugins/meson.build5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/decoder/plugins/meson.build b/src/decoder/plugins/meson.build
index 0b37363fe..3a5233074 100644
--- a/src/decoder/plugins/meson.build
+++ b/src/decoder/plugins/meson.build
@@ -102,7 +102,10 @@ endif
libmodplug_dep = dependency('libmodplug', required: get_option('modplug'))
decoder_features.set('ENABLE_MODPLUG', libmodplug_dep.found())
if libmodplug_dep.found()
- decoder_plugins_sources += 'ModplugDecoderPlugin.cxx'
+ decoder_plugins_sources += [
+ 'ModplugDecoderPlugin.cxx',
+ 'ModCommon.cxx'
+ ]
endif
libmpcdec_dep = c_compiler.find_library('mpcdec', required: get_option('mpcdec'))