From: Jonathan Dieter Date: Sun, 9 Jan 2022 20:25:09 +0000 (+0000) Subject: Attempt to fix zstd wrap dependency detection X-Git-Tag: archive/raspbian/1.2.1+ds1-1+rpi1^2~7^2~1^2~5^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ce5677cbdf7bffd3f986eac861a8bba89c423ebf;p=zchunk.git Attempt to fix zstd wrap dependency detection Signed-off-by: Jonathan Dieter --- diff --git a/meson.build b/meson.build index 53a201c..14c6fa5 100644 --- a/meson.build +++ b/meson.build @@ -20,7 +20,7 @@ endif # zstd dependency if build_machine.system() == 'windows' - zstd_dep = dependency('zstd', modules: 'zstd::libzstd_shared', required : get_option('with-zstd'), fallback: 'zstd') + zstd_dep = dependency('zstd', modules: 'zstd::libzstd_shared', required : get_option('with-zstd'), fallback: ['zstd', 'libzstd_dep']) else zstd_dep = dependency('libzstd', required : get_option('with-zstd'), fallback: 'zstd', default_options: ['bin_programs=false', 'zlib=disabled', 'lzma=disabled', 'lz4=disabled'])