diff options
| author | ruki <[email protected]> | 2022-12-17 22:38:15 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-12-17 22:38:25 +0800 |
| commit | f480f5af5f83784b19a11289f7c57c6e4da7b67c (patch) | |
| tree | f85f87a1d463414ebf1d4a704bf48223c8d191f1 /core | |
| parent | b0cf84fded9e704a6db7b1229e7b30b08d253782 (diff) | |
fix lua option
Diffstat (limited to 'core')
| -rwxr-xr-x | core/xmake.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/xmake.sh b/core/xmake.sh index 23a4c904d..27c6bf869 100755 --- a/core/xmake.sh +++ b/core/xmake.sh @@ -61,6 +61,7 @@ option_end option "lua" add_cfuncs "lua_pushstring" add_cincludes "lua.h" "lualib.h" "lauxlib.h" + add_defines "LUA_COMPAT_5_1" "LUA_COMPAT_5_2" "LUA_COMPAT_5_3" before_check "option_find_lua" option_end |
