pull/69/head
ruki 4 years ago
parent 327a9201c6
commit 84ae20c6e5
No known key found for this signature in database
GPG Key ID: 809EF06AD42725BD
  1. 2
      packages/l/luajit/port/xmake.lua
  2. 2
      packages/m/moonjit/port/xmake.lua

@ -177,7 +177,7 @@ target("luajit")
if is_mode("debug") then
add_defines("LUA_USE_ASSERT")
end
if is_kind("shared") then
if is_kind("shared") and is_plat("windows") then
add_defines("LUA_BUILD_AS_DLL")
end
add_defines("LUAJIT_ENABLE_LUA52COMPAT", {public = true})

@ -177,7 +177,7 @@ target("luajit")
if is_mode("debug") then
add_defines("LUA_USE_ASSERT")
end
if is_kind("shared") then
if is_kind("shared") and is_plat("windows") then
add_defines("LUA_BUILD_AS_DLL")
end
add_defines("LUAJIT_ENABLE_LUA52COMPAT", {public = true})

Loading…
Cancel
Save