1
0
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:
l-m 2023-03-01 23:21:08 +11:00 committed by GitHub
parent bba7cfee0b
commit cdc0159c6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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