fix lua again

pull/45/head
ruki 5 years ago
parent f9b2033676
commit 127ea85a18
No known key found for this signature in database
GPG Key ID: 809EF06AD42725BD
  1. 2
      packages/l/lua/xmake.lua

@ -27,7 +27,9 @@ package("lua")
add_headerfiles("src/*.h", {prefixdir = "lua"})
add_files("src/*.c|lua.c|luac.c")
add_defines("LUA_COMPAT_5_2", "LUA_COMPAT_5_1")
if is_plat("windows") then
add_defines("LUA_DL_DLL")
end
if is_plat("linux") then
add_defines("LUA_USE_LINUX")
elseif is_plat("macosx") then

Loading…
Cancel
Save