fix(3p/nix): non-existent wrapper dependency .found() should be false too

(cherry picked from commit 90f9f4aef781fc5c3ead8652fc408a431f480905)
This commit is contained in:
John Ericson 2019-10-26 06:27:27 -04:00 committed by Vincent Ambo
parent 9c21176f57
commit 8481ff4351

View file

@ -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