Skip to content

Commit 5b5bfc7

Browse files
Port #168 in this branch, temporarily
1 parent b871e04 commit 5b5bfc7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pyodide_build/pywasmcross.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,9 @@ def replay_genargs_handle_linker_opts(arg: str) -> str | None:
188188
# wasm-ld does not recognize some link flags
189189
"--sort-common",
190190
"--as-needed",
191+
# macOS-specific linker flags that wasm-ld doesn't understand
192+
"-headerpad_max_install_names",
193+
"-dead_strip_dylibs",
191194
]:
192195
continue
193196

0 commit comments

Comments
 (0)