WebAssembly / wasm-c-api

Wasm C API prototype
Apache License 2.0
534 stars 77 forks source link

Support static linking on Windows #183

Closed ashtonmeuser closed 1 year ago

ashtonmeuser commented 1 year ago

The Wasm C API assumes all Windows builds are using a DLL. This adds a LIBWASM_STATIC define that allows for static linking. Related to https://github.com/WebAssembly/wasm-c-api/pull/182.