projects
/
ldk-java
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[TS] Use export_/import_name to filter exposed symbols
[ldk-java]
/
genbindings.sh
diff --git
a/genbindings.sh
b/genbindings.sh
index 77c936d9da129f46eae65670109100b2b0228a68..bb14f62fcf206c903c341b748d9e5a30d487b4d2 100755
(executable)
--- a/
genbindings.sh
+++ b/
genbindings.sh
@@
-199,7
+199,7
@@
else
cat ts/bindings.c.body >> ts/bindings.c
echo "Building TS bindings..."
cat ts/bindings.c.body >> ts/bindings.c
echo "Building TS bindings..."
- COMPILE="$COMMON_COMPILE -flto -Wl,--no-entry -
Wl,--export-dynamic -Wl,-allow-undefined -
nostdlib --target=wasm32-wasi"
+ COMPILE="$COMMON_COMPILE -flto -Wl,--no-entry -nostdlib --target=wasm32-wasi"
# We only need malloc and assert/abort, but for now just use WASI for those:
#EXTRA_LINK=/usr/lib/wasm32-wasi/libc.a
EXTRA_LINK=
# We only need malloc and assert/abort, but for now just use WASI for those:
#EXTRA_LINK=/usr/lib/wasm32-wasi/libc.a
EXTRA_LINK=