fix(3p/nix): non-existent wrapper dependency .found() should be false too
(cherry picked from commit 90f9f4aef781fc5c3ead8652fc408a431f480905)
This commit is contained in:
parent
9c21176f57
commit
8481ff4351
1 changed files with 2 additions and 2 deletions
4
third_party/nix/meson.build
vendored
4
third_party/nix/meson.build
vendored
|
@ -481,7 +481,7 @@ if (libsodium_lib.found())
|
||||||
link_args : get_option('sodium_link_args'))
|
link_args : get_option('sodium_link_args'))
|
||||||
config_h.set('HAVE_SODIUM', 1, description : 'Whether to use libsodium for cryptography.')
|
config_h.set('HAVE_SODIUM', 1, description : 'Whether to use libsodium for cryptography.')
|
||||||
else
|
else
|
||||||
libsodium_dep = declare_dependency()
|
libsodium_dep = dependency('', required: false)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
@ -495,7 +495,7 @@ if (get_option('with_gc'))
|
||||||
'HAVE_BOEHMGC', 1,
|
'HAVE_BOEHMGC', 1,
|
||||||
description : 'Whether to use the Boehm garbage collector.')
|
description : 'Whether to use the Boehm garbage collector.')
|
||||||
else
|
else
|
||||||
gc_dep = declare_dependency()
|
gc_dep = dependency('', required: false)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue