diff --git a/src/wasm/graphite/Makefile b/src/wasm/graphite/Makefile index 7c1f28952..db40901fe 100644 --- a/src/wasm/graphite/Makefile +++ b/src/wasm/graphite/Makefile @@ -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