diff --git a/src/lib/xiph/meson.build b/src/lib/xiph/meson.build index 8786ac7e6..c39cee8d4 100644 --- a/src/lib/xiph/meson.build +++ b/src/lib/xiph/meson.build @@ -1,4 +1,11 @@ libflac_dep = dependency('flac', version: '>= 1.2', required: get_option('flac')) + +if is_windows + # Our Windows build generates a static libFLAC build + libflac_dep = declare_dependency(compile_args: '-DFLAC__NO_DLL', + dependencies: libflac_dep) +endif + libopus_dep = dependency('opus', required: get_option('opus')) if get_option('tremor').enabled()