summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2022-04-06 12:33:31 (GMT)
committerGitHub <noreply@github.com>2022-04-06 12:33:31 (GMT)
commit765f6dee0fcf55c6ea258c2be4cc9dfb1b014f60 (patch)
tree0064580725455e4d57366db7f11b543c17f14279 /configure.ac
parent2b4f2f5fa4d1123c19bf0643cfa5a4fe8df4175c (diff)
downloadcpython-765f6dee0fcf55c6ea258c2be4cc9dfb1b014f60.zip
cpython-765f6dee0fcf55c6ea258c2be4cc9dfb1b014f60.tar.gz
cpython-765f6dee0fcf55c6ea258c2be4cc9dfb1b014f60.tar.bz2
bpo-40280: WASM defaults to no dynamic linking (GH-32360)
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 5860595..4f256ee 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1122,7 +1122,11 @@ AC_ARG_ENABLE([wasm-dynamic-linking],
[AC_MSG_ERROR([--enable-wasm-dynamic-linking only applies to Emscripten and WASI])]
)
], [
- enable_wasm_dynamic_linking=missing
+ AS_CASE([$ac_sys_system],
+ [Emscripten], [enable_wasm_dynamic_linking=no],
+ [WASI], [enable_wasm_dynamic_linking=no],
+ [enable_wasm_dynamic_linking=missing]
+ )
])
AC_MSG_RESULT([$enable_wasm_dynamic_linking])