Skip to content

Commit 5d6b2b3

Browse files
Link libc++ and libc++abi by default
1 parent 1cfad93 commit 5d6b2b3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/ruby_wasm/packager/core.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,8 @@ def _link_gem_exts(executor, build, ruby_root, gem_home, module_bytes)
121121
# TODO: Should be computed from dyinfo of ruby binary
122122
wasi_libc_shared_libs = [
123123
"libc.so",
124+
"libc++.so",
125+
"libc++abi.so",
124126
"libwasi-emulated-getpid.so",
125127
"libwasi-emulated-mman.so",
126128
"libwasi-emulated-process-clocks.so",

0 commit comments

Comments
 (0)