diff options
author | Christian Heimes <christian@python.org> | 2022-03-24 21:09:42 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-24 21:09:42 (GMT) |
commit | 8a0a9e5b1928fab7d9819c8d6498ef5c0b9383af (patch) | |
tree | 2c36274dc18955aa06798cf0692865f528a9020d /configure.ac | |
parent | 4119d2d7c9e25acd4f16994fb92d656f8b7816d7 (diff) | |
download | cpython-8a0a9e5b1928fab7d9819c8d6498ef5c0b9383af.zip cpython-8a0a9e5b1928fab7d9819c8d6498ef5c0b9383af.tar.gz cpython-8a0a9e5b1928fab7d9819c8d6498ef5c0b9383af.tar.bz2 |
bpo-40280: Add wasm32-emscripten and wasm32-wasi SOABI (GH-32095)
Shared extension on Emscripten now have suffix
``.cpython-311-wasm32-emscripten.so`` (JS loader) and
``.cpython-311-wasm32-emscripten.wasm`` (WebAssembly code).
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 6fd95f7..0948661 100644 --- a/configure.ac +++ b/configure.ac @@ -973,6 +973,22 @@ cat > conftest.c <<EOF darwin #elif defined(__VXWORKS__) vxworks +#elif defined(__wasm32__) +# if defined(__EMSCRIPTEN__) + wasm32-emscripten +# elif defined(__wasi__) + wasm32-wasi +# else +# error unknown wasm32 platform +# endif +#elif defined(__wasm64__) +# if defined(__EMSCRIPTEN) + wasm64-emscripten +# elif defined(__wasi__) + wasm64-wasi +# else +# error unknown wasm64 platform +# endif #else # error unknown platform triplet #endif |