mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-17 20:52:37 +01:00
Actually target Wasm2JS with wasm2js build
This commit is contained in:
committed by
Бранимир Караџић
parent
8d1e6bbe75
commit
0ed60bf769
@@ -947,6 +947,9 @@ function toolchain(_buildDir, _libDir)
|
||||
targetdir (path.join(_buildDir, "wasm2js/bin"))
|
||||
objdir (path.join(_buildDir, "wasm2js/obj"))
|
||||
libdirs { path.join(_libDir, "lib/wasm2js") }
|
||||
linkoptions {
|
||||
"-s WASM=0"
|
||||
}
|
||||
|
||||
configuration { "wasm" }
|
||||
targetdir (path.join(_buildDir, "wasm/bin"))
|
||||
|
||||
Reference in New Issue
Block a user