authorgravatar for takeshi@tetrate.ioTakeshi Yoneda <takeshi@tetrate.io> 2021-06-14 23:39:39+09:00
committergravatar for takeshi@tetrate.ioTakeshi Yoneda <takeshi@tetrate.io> 2021-06-14 23:39:39+09:00
logc708962386017da349736e25dc689c94b73df251
treeb25cadb3ca7633fba8391679bbded166b01ad134
parent827fa4d837accc197df730f4a011c7c8a97202d1

link/wasm: link libcxx.

Signed-off-by: Takeshi Yoneda <takeshi@tetrate.io>

1 files changed, 4 insertions(+), 0 deletions(-)

src/link/Wasm.zig+4
...@@ -716,6 +716,10 @@ fn linkWithLLD(self: *Wasm, comp: *Compilation) !void {...@@ -716,6 +716,10 @@ fn linkWithLLD(self: *Wasm, comp: *Compilation) !void {
716 ));716 ));
717 try argv.append(try comp.get_libc_crt_file(arena, "libc.a"));717 try argv.append(try comp.get_libc_crt_file(arena, "libc.a"));
718 }718 }
719
720 if (self.base.options.link_libcpp) {
721 try argv.append(comp.libcxx_static_lib.?.full_object_path);
722 }
719 }723 }
720 }724 }
721725