summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/src/lua/xmake.lua6
-rwxr-xr-xcore/src/lua/xmake.sh3
2 files changed, 2 insertions, 7 deletions
diff --git a/core/src/lua/xmake.lua b/core/src/lua/xmake.lua
index d732b89fb..93eab9580 100644
--- a/core/src/lua/xmake.lua
+++ b/core/src/lua/xmake.lua
@@ -14,12 +14,8 @@ target("lua")
add_includedirs("lua", {public = true})
-- add the common source files
- add_files("lua/*.c|lua.c|onelua.c|loslib.c|lparser.c")
+ add_files("lua/*.c|lua.c|onelua.c|loslib.c")
- -- allow reassignment of for-loop control variables (lua 5.4 compatible)
- add_files("lua/lparser.c", {rules = "utils.replace", replaces = {
- {"RDKCONST%);", "VDKREG);"},
- }})
if not is_plat("iphoneos") then
add_files("lua/loslib.c")
end
diff --git a/core/src/lua/xmake.sh b/core/src/lua/xmake.sh
index 754cbcdb3..6c504c3d0 100755
--- a/core/src/lua/xmake.sh
+++ b/core/src/lua/xmake.sh
@@ -30,8 +30,7 @@ target "lua"
add_files "lua/lobject.c"
add_files "lua/lopcodes.c"
add_files "lua/loslib.c"
- # allow reassignment of for-loop control variables (lua 5.4 compatible)
- add_files "lua/lparser.c" "{replace = {RDKCONST);, VDKREG);}}"
+ add_files "lua/lparser.c"
add_files "lua/lstate.c"
add_files "lua/lstring.c"
add_files "lua/lstrlib.c"