lnsocket

A minimal C library for connecting to the lightning network
git clone git://jb55.com/lnsocket
Log | Files | Refs | Submodules | README | LICENSE

commit 85ac538a30c96d82cf3f07f757d73c9ad8cbb624
parent f5c9247f127cf21859f7b07bb1f64dca72ad3993
Author: William Casarin <jb55@jb55.com>
Date:   Thu, 24 Mar 2022 09:39:41 -0700

emcc: update EXPORTED_RUNTIME_METHODS arg

Signed-off-by: William Casarin <jb55@jb55.com>

Diffstat:
MMakefile | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile @@ -196,11 +196,11 @@ target/node/lnsocket.wasm: target/tmp/node/lnsocket.js target/tmp/node/lnsocket.js: $(WASM_ARS) lnsocket_pre.js @mkdir -p target/tmp/node - emcc --pre-js lnsocket_pre.js -s MODULARIZE -flto -s 'EXPORTED_FUNCTIONS=["_malloc", "_free"]' -s EXPORTED_RUNTIME_METHODS=ccall,cwrap $(CFLAGS) -Wl,-whole-archive $(WASM_ARS) -Wl,-no-whole-archive -o $@ + emcc --pre-js lnsocket_pre.js -s MODULARIZE -flto -s 'EXPORTED_FUNCTIONS=["_malloc", "_free"]' -s EXPORTED_RUNTIME_METHODS='["ccall","cwrap"]' $(CFLAGS) -Wl,-whole-archive $(WASM_ARS) -Wl,-no-whole-archive -o $@ target/tmp/js/lnsocket.js: $(WASM_ARS) lnsocket_pre.js @mkdir -p target/tmp/js - emcc --pre-js lnsocket_pre.js -s ENVIRONMENT=web -s MODULARIZE -flto -s 'EXPORTED_FUNCTIONS=["_malloc", "_free"]' -s EXPORTED_RUNTIME_METHODS=ccall,cwrap $(CFLAGS) -Wl,-whole-archive $(WASM_ARS) -Wl,-no-whole-archive -o $@ + emcc --pre-js lnsocket_pre.js -s ENVIRONMENT=web -s MODULARIZE -flto -s 'EXPORTED_FUNCTIONS=["_malloc", "_free"]' -s 'EXPORTED_RUNTIME_METHODS=["ccall","cwrap"]' $(CFLAGS) -Wl,-whole-archive $(WASM_ARS) -Wl,-no-whole-archive -o $@ tags: fake find . -name '*.c' -or -name '*.h' | xargs ctags