diff options
| author | tqfx <[email protected]> | 2024-05-24 22:39:12 +0800 |
|---|---|---|
| committer | tqfx <[email protected]> | 2024-05-26 21:45:46 +0800 |
| commit | 1d6f7c99f8c7992e2eb7cd99bb7eb6aa309bb314 (patch) | |
| tree | 2fa78116390103b9b80e3b80adeab13b19eefd8f /core/src/lua/xmake.lua | |
| parent | 4cdcaa4772957ab2672d2618ca11e1dcce0e71c2 (diff) | |
Fix building xmake using xmake on mingw
Diffstat (limited to 'core/src/lua/xmake.lua')
| -rw-r--r-- | core/src/lua/xmake.lua | 2 |
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 |
