diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2016-05-30 03:30:53 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2016-05-30 03:40:30 +0530 |
commit | 8c34ea645dfcc2e5043be93fa0f692c24a153a56 (patch) | |
tree | 4095d5d828020314a86ab287d809b83e643daa94 /mesonbuild/scripts/gtkdochelper.py | |
parent | 0096c51035aeeb53e02bca288de0797a790c4d48 (diff) | |
download | meson-8c34ea645dfcc2e5043be93fa0f692c24a153a56.zip meson-8c34ea645dfcc2e5043be93fa0f692c24a153a56.tar.gz meson-8c34ea645dfcc2e5043be93fa0f692c24a153a56.tar.bz2 |
interpreter: Compare the version of a cached dependency() before using it
Without this, checks with incompatible versions but the same library would
return true. Example:
dependency('zlib', version : '>=1.2')
dependency('zlib', version : '<1.0') # this will return the same dep again!
Example: https://github.com/mesonbuild/meson/issues/568
Diffstat (limited to 'mesonbuild/scripts/gtkdochelper.py')
0 files changed, 0 insertions, 0 deletions