diff options
| author | ruki <[email protected]> | 2021-10-09 22:58:17 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-10-09 22:58:17 +0800 |
| commit | f35f6e15e13a4e5a360b94148534623b6a9c5feb (patch) | |
| tree | b2eb9e65e0653c85eea5f5c0b7e8323dedf878f2 /core/src/lua | |
| parent | ba1c8c827e462ece4b1fe41a126b30afe4adbe03 (diff) | |
fix makefile
Diffstat (limited to 'core/src/lua')
| -rw-r--r-- | core/src/lua/makefile | 3 | ||||
| -rw-r--r-- | core/src/lua/xmake.lua | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/core/src/lua/makefile b/core/src/lua/makefile index 8a9639947..9db0fa518 100644 --- a/core/src/lua/makefile +++ b/core/src/lua/makefile @@ -37,7 +37,6 @@ lua_C_FILES += \ lua/lcorolib \ lua/lcode \ lua/ltablib \ - lua/lbitlib \ lua/lapi \ lua/lbaselib \ lua/ldebug \ @@ -62,7 +61,7 @@ ifeq ($(PLAT),cygwin) iswin = yes endif -lua_CFLAGS := -std=c99 -DLUA_COMPAT_5_1 -DLUA_COMPAT_5_2 +lua_CFLAGS := -std=c99 -DLUA_COMPAT_5_1 -DLUA_COMPAT_5_2 -DLUA_COMPAT_5_3 ifdef iswin lua_CFLAGS_PLAT := -DLUA_USE_WINDOWS endif diff --git a/core/src/lua/xmake.lua b/core/src/lua/xmake.lua index 4f209b693..9a622a2e9 100644 --- a/core/src/lua/xmake.lua +++ b/core/src/lua/xmake.lua @@ -20,7 +20,7 @@ target("lua") add_files("lua/*.c|lua.c") -- add defines - add_defines("LUA_COMPAT_5_1", "LUA_COMPAT_5_2", {public = true}) + add_defines("LUA_COMPAT_5_1", "LUA_COMPAT_5_2", "LUA_COMPAT_5_3", {public = true}) if is_plat("windows") then add_defines("LUA_USE_WINDOWS") elseif is_plat("macosx", "iphoneos") then |
