mirror of
https://github.com/ziglang/zig.git
synced 2025-12-30 18:13:19 +00:00
link/wasm: link libcxx.
Signed-off-by: Takeshi Yoneda <takeshi@tetrate.io>
This commit is contained in:
parent
827fa4d837
commit
c708962386
@ -716,6 +716,10 @@ fn linkWithLLD(self: *Wasm, comp: *Compilation) !void {
|
||||
));
|
||||
try argv.append(try comp.get_libc_crt_file(arena, "libc.a"));
|
||||
}
|
||||
|
||||
if (self.base.options.link_libcpp) {
|
||||
try argv.append(comp.libcxx_static_lib.?.full_object_path);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user