diff options
author | Xavier Claessens <xavier.claessens@collabora.com> | 2020-04-15 16:42:21 -0400 |
---|---|---|
committer | Xavier Claessens <xavier.claessens@collabora.com> | 2020-07-01 09:51:57 -0400 |
commit | 288d1ae5a5de13c8844635023caf27378df4919b (patch) | |
tree | d31d973fff07d6b9181959ff15104bc7573f4a30 /docs/genrelnotes.py | |
parent | 71804e56eb3612eabc51887fe4d46961684a3ecc (diff) | |
download | meson-288d1ae5a5de13c8844635023caf27378df4919b.zip meson-288d1ae5a5de13c8844635023caf27378df4919b.tar.gz meson-288d1ae5a5de13c8844635023caf27378df4919b.tar.bz2 |
wrap: Do not fallback implicitly on optional dependency
This fix the following common pattern, we don't want to implicitly
fallback on the first line:
foo_dep = dependency('foo', required: false)
if not foo_dep.found()
foo_dep = cc.find_library('foo', required : false)
if not foo_dep.found()
foo_dep = dependency('foo', fallback: 'foo')
endif
endif
Diffstat (limited to 'docs/genrelnotes.py')
0 files changed, 0 insertions, 0 deletions