bpo-40280: WASM defaults to no dynamic linking (GH-32360)

This commit is contained in:
Christian Heimes 2022-04-06 15:33:31 +03:00 committed by GitHub
parent 2b4f2f5fa4
commit 765f6dee0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 2 deletions

10
configure generated vendored
View File

@ -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

View File

@ -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])