[wasm-graphite] Export malloc/free
Makes the wasm-micro-runtime use these instead of internal heap.
This commit is contained in:
parent
7b1c5e86ae
commit
4096115b48
|
@ -13,11 +13,11 @@ all: $(FONTS)
|
|||
-Wl,--strip-all \
|
||||
-sERROR_ON_UNDEFINED_SYMBOLS=0 \
|
||||
~/graphite/src/libgraphite2.a \
|
||||
-Wl,--export=malloc -Wl,--export=free \
|
||||
~/wasm/wasi-sdk-19.0/share/wasi-sysroot/lib/wasm32-wasi/libc.a \
|
||||
$< \
|
||||
-o $@
|
||||
|
||||
# -Wl,--export=malloc -Wl,--export=free \
|
||||
|
||||
%.wasm.ttf: %.ttf shape.wasm $(ADD_TABLE)
|
||||
python $(ADD_TABLE) $< $@ shape.wasm
|
||||
|
|
Loading…
Reference in New Issue