summaryrefslogtreecommitdiff
path: root/core/src/lua/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2024-05-26 22:02:44 +0800
committerGitHub <[email protected]>2024-05-26 22:02:44 +0800
commitd58352a36f0ee20e302e09fb9b0400695ff665b8 (patch)
tree4bf43c4a9843304ad2a46d7e7ba50bace9a0b9c1 /core/src/lua/xmake.lua
parent52f0fa6864e2f6e26f4069d4b8c33a0067cc29bc (diff)
parent1d6f7c99f8c7992e2eb7cd99bb7eb6aa309bb314 (diff)
Merge pull request #5142 from tqfx/patch-1
Fix building xmake using xmake on mingw
Diffstat (limited to 'core/src/lua/xmake.lua')
-rw-r--r--core/src/lua/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/lua/xmake.lua b/core/src/lua/xmake.lua
index 8803dd2b3..006480397 100644
--- a/core/src/lua/xmake.lua
+++ b/core/src/lua/xmake.lua
@@ -21,7 +21,7 @@ target("lua")
-- add definitions
add_defines("LUA_COMPAT_5_1", "LUA_COMPAT_5_2", "LUA_COMPAT_5_3", {public = true})
- if is_plat("windows") then
+ if is_plat("windows", "mingw") then
-- it has been defined in luaconf.h
--add_defines("LUA_USE_WINDOWS")
elseif is_plat("macosx", "iphoneos") then