mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
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:
parent
8f0da0851f
commit
b5a9021708
1 changed files with 1 additions and 1 deletions
|
|
@ -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.')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue