diff options
author | Xavier Claessens <xavier.claessens@collabora.com> | 2021-07-21 12:26:20 -0400 |
---|---|---|
committer | Xavier Claessens <xavier.claessens@collabora.com> | 2021-07-21 13:33:06 -0400 |
commit | 0183954ea1219b2f86c8c7e15431a0908a8aa776 (patch) | |
tree | 3e400584525a487e1081e646f0c486df044ba210 /mesonbuild/interpreter/mesonmain.py | |
parent | 9afd589c8b77d1e9d279813a71ec1451476a0be8 (diff) | |
download | meson-0183954ea1219b2f86c8c7e15431a0908a8aa776.zip meson-0183954ea1219b2f86c8c7e15431a0908a8aa776.tar.gz meson-0183954ea1219b2f86c8c7e15431a0908a8aa776.tar.bz2 |
Fix meson.version().version_compare() regression in subproject
Diffstat (limited to 'mesonbuild/interpreter/mesonmain.py')
-rw-r--r-- | mesonbuild/interpreter/mesonmain.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/interpreter/mesonmain.py b/mesonbuild/interpreter/mesonmain.py index bea12e0..97a695b 100644 --- a/mesonbuild/interpreter/mesonmain.py +++ b/mesonbuild/interpreter/mesonmain.py @@ -22,7 +22,7 @@ if T.TYPE_CHECKING: class MesonMain(MesonInterpreterObject): def __init__(self, build: 'build.Build', interpreter: 'Interpreter'): - super().__init__() + super().__init__(subproject=interpreter.subproject) self.build = build self.interpreter = interpreter self.methods.update({'get_compiler': self.get_compiler_method, |