mirror of https://github.com/python/cpython
bpo-40280: WASM defaults to no dynamic linking (GH-32360)
This commit is contained in:
parent
2b4f2f5fa4
commit
765f6dee0f
|
@ -6311,7 +6311,15 @@ esac
|
|||
|
||||
else
|
||||
|
||||
enable_wasm_dynamic_linking=missing
|
||||
case $ac_sys_system in #(
|
||||
Emscripten) :
|
||||
enable_wasm_dynamic_linking=no ;; #(
|
||||
WASI) :
|
||||
enable_wasm_dynamic_linking=no ;; #(
|
||||
*) :
|
||||
enable_wasm_dynamic_linking=missing
|
||||
;;
|
||||
esac
|
||||
|
||||
fi
|
||||
|
||||
|
|
|
@ -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])
|
||||
|
||||
|
|
Loading…
Reference in New Issue