Commit 8554bf8
committed
Review conf_wasm.py: fix ERRNO_CODES, WASI CFLAGS, and dlopen logic.
- _setup_emscripten_flags: add missing ERRNO_CODES to
-sEXPORTED_RUNTIME_METHODS, matching configure.ac line 2368.
- _setup_wasi_flags: also append -target wasm32-wasi-threads -pthread
to CFLAGS (not just CFLAGS_NODIST); the comment explains this is
needed so ac_compile/ac_link tests succeed during configure.
- setup_wasm_flags: fix ac_cv_func_dlopen logic: use == "no" instead
of "is False" so that explicit --enable-wasm-dynamic-linking=no
suppresses dlopen (matching configure.ac), and "missing" (no option
given) correctly leaves dlopen unprobed.
Assisted-by: Claude1 parent 59de0cf commit 8554bf8
2 files changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
| 118 | + | |
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
| 176 | + | |
176 | 177 | | |
177 | 178 | | |
178 | 179 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8762 | 8762 | | |
8763 | 8763 | | |
8764 | 8764 | | |
8765 | | - | |
| 8765 | + | |
8766 | 8766 | | |
8767 | 8767 | | |
8768 | 8768 | | |
| |||
8790 | 8790 | | |
8791 | 8791 | | |
8792 | 8792 | | |
| 8793 | + | |
8793 | 8794 | | |
8794 | 8795 | | |
8795 | 8796 | | |
| |||
0 commit comments