aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/mesonmain.py
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2016-10-27 21:16:16 +0100
committerJussi Pakkanen <jpakkane@gmail.com>2016-11-02 13:49:57 -0700
commitaeaccdc418e9e12bf64b5b3bd21751e0e71c7c2b (patch)
tree28b013ce74f4259777f8990fcd748e3d5a8d86f5 /mesonbuild/mesonmain.py
parentf1c909c41a1e495c08784aefdaa7779c1bb440d3 (diff)
downloadmeson-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