mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
wasm: update the compile flags in binaryen.c.v
to assist darwin (#17449)
This commit is contained in:
parent
bba7cfee0b
commit
cdc0159c6e
@ -1,14 +1,10 @@
|
|||||||
[translated]
|
[translated]
|
||||||
module binaryen
|
module binaryen
|
||||||
|
|
||||||
$if dynamic_binaryen ? {
|
|
||||||
#flag -lbinaryen
|
|
||||||
} $else {
|
|
||||||
#flag -I@VEXEROOT/thirdparty/binaryen/include
|
#flag -I@VEXEROOT/thirdparty/binaryen/include
|
||||||
#flag -L@VEXEROOT/thirdparty/binaryen/lib
|
#flag -L@VEXEROOT/thirdparty/binaryen/lib
|
||||||
#flag -lbinaryen
|
#flag -lbinaryen -lstdc++
|
||||||
#flag linux -lstdc++
|
#flag darwin -Wl,-rpath,/opt/homebrew/lib -Wl,-rpath,@VEXEROOT/thirdparty/binaryen/lib
|
||||||
}
|
|
||||||
|
|
||||||
type Index = u32
|
type Index = u32
|
||||||
type Type = u64
|
type Type = u64
|
||||||
|
Loading…
Reference in New Issue
Block a user