Mesa (master): meson/freedreno: Fix lua requirement
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Aug 7 17:37:54 UTC 2020
Module: Mesa
Branch: master
Commit: 1e28745bc0d3528c1dfc25459456849feb58d407
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1e28745bc0d3528c1dfc25459456849feb58d407
Author: Dylan Baker <dylan.c.baker at intel.com>
Date: Fri Aug 7 09:14:03 2020 -0700
meson/freedreno: Fix lua requirement
Freedreno needs at least Lua 5.2, but the current code will report found
for 5.1, which doesn't actually work.
Fixes: caa107cb8db930bc59cd557a325a6a0bc4a86565
("freedreno/decode: move dependencies up a level")
Reviewed-by: Rob Clark <robclark at freedesktop.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6229>
---
src/freedreno/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/freedreno/meson.build b/src/freedreno/meson.build
index 64108c57756..f6219502886 100644
--- a/src/freedreno/meson.build
+++ b/src/freedreno/meson.build
@@ -30,7 +30,7 @@ if not dep_lua.found()
dep_lua = dependency('lua52', required: false)
endif
if not dep_lua.found()
- dep_lua = dependency('lua', required: false)
+ dep_lua = dependency('lua', required: false, version : '>=5.2')
endif
dep_libarchive = dependency('libarchive', required: false)
More information about the mesa-commit
mailing list