Skip to content

Commit

Permalink
bugfix: require lua5.3.x (#45)
Browse files Browse the repository at this point in the history
lua_getuservalue, lua_newuserdata and presumably other functions were replaced in Lua 5.4
  • Loading branch information
JeffCarpenter authored Nov 15, 2020
1 parent a1b6ca1 commit 9d302e3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/meson.build
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
luadep = dependency('lua', version : '>=5.3', required : false)
lua_version = ['>=5.3', '<5.4']
luadep = dependency('lua', version : lua_version, required : false)
if not luadep.found()
luadep = dependency('lua5.3', version : '>=5.3')
luadep = dependency('lua5.3', version : lua_version)
endif

pthreaddep = dependency('threads')
Expand Down

0 comments on commit 9d302e3

Please sign in to comment.