Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 765f6de

Browse files
authored
bpo-40280: WASM defaults to no dynamic linking (GH-32360)
1 parent 2b4f2f5 commit 765f6de

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

configure

+9-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

configure.ac

+5-1
Original file line numberDiff line numberDiff line change
@@ -1122,7 +1122,11 @@ AC_ARG_ENABLE([wasm-dynamic-linking],
11221122
[AC_MSG_ERROR([--enable-wasm-dynamic-linking only applies to Emscripten and WASI])]
11231123
)
11241124
], [
1125-
enable_wasm_dynamic_linking=missing
1125+
AS_CASE([$ac_sys_system],
1126+
[Emscripten], [enable_wasm_dynamic_linking=no],
1127+
[WASI], [enable_wasm_dynamic_linking=no],
1128+
[enable_wasm_dynamic_linking=missing]
1129+
)
11261130
])
11271131
AC_MSG_RESULT([$enable_wasm_dynamic_linking])
11281132

0 commit comments

Comments
 (0)