diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2016-10-27 21:16:16 +0100 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2016-11-02 13:49:57 -0700 |
commit | aeaccdc418e9e12bf64b5b3bd21751e0e71c7c2b (patch) | |
tree | 28b013ce74f4259777f8990fcd748e3d5a8d86f5 /mesonbuild/mesonmain.py | |
parent | f1c909c41a1e495c08784aefdaa7779c1bb440d3 (diff) | |
download | meson-aeaccdc418e9e12bf64b5b3bd21751e0e71c7c2b.zip meson-aeaccdc418e9e12bf64b5b3bd21751e0e71c7c2b.tar.gz meson-aeaccdc418e9e12bf64b5b3bd21751e0e71c7c2b.tar.bz2 |
Fix dependency() ignoring required attribute when checked second or third time
If first checking for a dependency as not-required, and then later
checking for the same dependency again as required, we would not
error out saying the dependency is missing, but just silently
re-use the cached dependency object from the first check and then
likely fail at build time if the dependency is not actually there.
With test case.
Fixes #964.
Diffstat (limited to 'mesonbuild/mesonmain.py')
0 files changed, 0 insertions, 0 deletions