about summary refs log tree commit diff
path: root/third_party/nix/meson.build
diff options
context:
space:
mode:
authorJohn Ericson <git@JohnEricson.me>2019-10-26T10·27-0400
committerVincent Ambo <tazjin@google.com>2020-05-17T14·56+0100
commit8481ff43514c1cb39ebc2fdec654638afa04549d (patch)
tree28ca4dc04051399c4f87101ef6fb66d27740e001 /third_party/nix/meson.build
parent9c21176f5779d5757cfc38497873bb0e13eb4f0b (diff)
fix(3p/nix): non-existent wrapper dependency .found() should be false too r/735
(cherry picked from commit 90f9f4aef781fc5c3ead8652fc408a431f480905)
Diffstat (limited to 'third_party/nix/meson.build')
-rw-r--r--third_party/nix/meson.build4
1 files changed, 2 insertions, 2 deletions
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