X-Git-Url: http://git.lukelau.me/?p=wasm.git;a=blobdiff_plain;f=Makefile;h=40629adf7d9eb74d00b10ae2862ef33bcd117e5d;hp=13a9c43ca20dff921d0ef883548d9399327f5338;hb=HEAD;hpb=aed1f5271c857c3afa085c593d2ca6159770395c diff --git a/Makefile b/Makefile index 13a9c43..40629ad 100644 --- a/Makefile +++ b/Makefile @@ -54,6 +54,7 @@ test.wasm: test.cpp sysroot toolchain/build/llvm/bin/clang++ \ --target=wasm32-unknown-unknown-wasm -g -O3 \ -fno-exceptions --sysroot=sysroot -nostartfiles \ - -Wl,--export=foo,--demangle,--no-entry,--allow-undefined-file=gles2.imports \ + -I/usr/local/include \ + -Wl,--export=setup,--export=update,--demangle,--no-entry,--allow-undefined-file=gles2.imports \ test.cpp -o test.wasm