Commit e87690c9 authored by nanahira's avatar nanahira

LUA_USE_LONGJMP

parent 326c22e9
Pipeline #38957 passed with stages
in 3 minutes and 56 seconds
...@@ -70,7 +70,7 @@ workspace "ocgcoredll" ...@@ -70,7 +70,7 @@ workspace "ocgcoredll"
linkoptions { "-static-libstdc++", "-static-libgcc" } linkoptions { "-static-libstdc++", "-static-libgcc" }
filter "system:emscripten" filter "system:emscripten"
defines { "LUA_USE_LONGJMP", "LUA_USE_C89" } defines { "LUA_USE_C89" }
pic "On" pic "On"
filter {} filter {}
......
...@@ -8,6 +8,8 @@ project "lua" ...@@ -8,6 +8,8 @@ project "lua"
files { "src/*.c", "src/*.h" } files { "src/*.c", "src/*.h" }
removefiles { "src/lua.c", "src/luac.c", "src/onelua.c" } removefiles { "src/lua.c", "src/luac.c", "src/onelua.c" }
defines { "LUA_USE_LONGJMP" }
if not GetParam("no-lua-safe") then if not GetParam("no-lua-safe") then
removefiles { "src/linit.c" } removefiles { "src/linit.c" }
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment