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.sh | |
| parent | 4cdcaa4772957ab2672d2618ca11e1dcce0e71c2 (diff) | |
Fix building xmake using xmake on mingw
Diffstat (limited to 'core/src/lua/xmake.sh')
| -rwxr-xr-x | core/src/lua/xmake.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/src/lua/xmake.sh b/core/src/lua/xmake.sh index 78e05bd21..59eff5dd3 100755 --- a/core/src/lua/xmake.sh +++ b/core/src/lua/xmake.sh @@ -44,8 +44,9 @@ target "lua" # add definitions add_defines "LUA_COMPAT_5_1" "LUA_COMPAT_5_2" "LUA_COMPAT_5_3" "{public}" - if is_plat "mingw"; then - add_defines "LUA_USE_WINDOWS" + if is_plat "mingw"; then true + # it has been defined in luaconf.h + #add_defines "LUA_USE_WINDOWS" elif is_plat "macosx"; then add_defines "LUA_USE_MACOSX" else |
