Attempt to fix zstd wrap dependency detection
authorJonathan Dieter <jdieter@gmail.com>
Sun, 9 Jan 2022 20:25:09 +0000 (20:25 +0000)
committerJonathan Dieter <jdieter@gmail.com>
Sun, 9 Jan 2022 20:59:06 +0000 (20:59 +0000)
Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
meson.build

index 53a201c61fbcc32b12d2b42fa9f8867327e28ccc..14c6fa5def8e8666f0a7b49d9ebabb490cfd18a3 100644 (file)
@@ -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'])