meson: keep Mako version checking in accord with build msg

Fixes: 52194ae4df ("meson: Ensure that mako is >= 0.8.0")
Signed-off-by: Luc Ma <luc@sietium.com>
Reported-by: Terry Zhang <terry@sietium.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22499>
This commit is contained in:
Luc Ma
2023-04-14 18:53:57 +08:00
committed by Marge Bot
parent 8f0da0851f
commit b5a9021708

View File

@@ -848,7 +848,7 @@ has_mako = run_command(
'''
from distutils.version import StrictVersion
import mako
assert StrictVersion(mako.__version__) > StrictVersion("0.8.0")
assert StrictVersion(mako.__version__) >= StrictVersion("0.8.0")
''', check: false)
if has_mako.returncode() != 0
error('Python (3.x) mako module >= 0.8.0 required to build mesa.')