meson: Clarify Lua state on Windows

lua-lgi now works with Lua 5.3 on Windows:
https://github.com/msys2/MINGW-packages/issues/21171

According to my tests, after installing lua53-lgi MSYS2 package,
lua5.3.exe tries to run the goat exercise (fails since the goat
uses different lua API). Anyway, lua5.1 isn't required per se.
This commit is contained in:
Bruno 2024-06-19 10:15:14 -03:00
parent 46698e25d5
commit d83c254ce1
No known key found for this signature in database
1 changed files with 1 additions and 3 deletions

View File

@ -1137,9 +1137,7 @@ endif
have_lua = false
# At time of writing, lua-lgi works with Lua 5.1, 5.2, 5.3, 5.4 and LuaJIT2. On
# most platforms, we use luajit. On MSYS2, only lua5.1 works with lua-lgi. This
# is why we use this order for lua detection. Fall back to an unversioned
# program name.
# most platforms, we use luajit.
if get_option('lua').allowed()
have_lua_lgi = false