Commit 223083a9 authored by nanahira's avatar nanahira

fix

parent ac79cef4
Pipeline #42837 passed with stages
in 4 minutes and 40 seconds
...@@ -106,6 +106,9 @@ project "ocgcore" ...@@ -106,6 +106,9 @@ project "ocgcore"
includedirs { LUA_DIR .. "/src" } includedirs { LUA_DIR .. "/src" }
filter "platforms:wasm_cjs or platforms:wasm_esm" filter "platforms:wasm_cjs or platforms:wasm_esm"
-- Avoid -shared so emcc emits JS glue + .wasm.
kind "ConsoleApp"
targetprefix "lib"
local wasmLinkOptions = { local wasmLinkOptions = {
"-s MODULARIZE=1", "-s MODULARIZE=1",
"-s EXPORT_NAME=\"createOcgcore\"", "-s EXPORT_NAME=\"createOcgcore\"",
......
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