From 8481ff43514c1cb39ebc2fdec654638afa04549d Mon Sep 17 00:00:00 2001 From: John Ericson Date: Sat, 26 Oct 2019 06:27:27 -0400 Subject: fix(3p/nix): non-existent wrapper dependency .found() should be false too (cherry picked from commit 90f9f4aef781fc5c3ead8652fc408a431f480905) --- third_party/nix/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'third_party/nix') diff --git a/third_party/nix/meson.build b/third_party/nix/meson.build index 9e20c499f3ca..27c347a59351 100644 --- a/third_party/nix/meson.build +++ b/third_party/nix/meson.build @@ -481,7 +481,7 @@ if (libsodium_lib.found()) link_args : get_option('sodium_link_args')) config_h.set('HAVE_SODIUM', 1, description : 'Whether to use libsodium for cryptography.') else - libsodium_dep = declare_dependency() + libsodium_dep = dependency('', required: false) endif @@ -495,7 +495,7 @@ if (get_option('with_gc')) 'HAVE_BOEHMGC', 1, description : 'Whether to use the Boehm garbage collector.') else - gc_dep = declare_dependency() + gc_dep = dependency('', required: false) endif -- cgit 1.4.1