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]
module binaryen
$if dynamic_binaryen ? {
#flag -lbinaryen
} $else {
#flag -I@VEXEROOT/thirdparty/binaryen/include
#flag -L@VEXEROOT/thirdparty/binaryen/lib
#flag -lbinaryen
#flag linux -lstdc++
}
#flag -I@VEXEROOT/thirdparty/binaryen/include
#flag -L@VEXEROOT/thirdparty/binaryen/lib
#flag -lbinaryen -lstdc++
#flag darwin -Wl,-rpath,/opt/homebrew/lib -Wl,-rpath,@VEXEROOT/thirdparty/binaryen/lib
type Index = u32
type Type = u64