|
@@ -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})
|