authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2021-10-18 10:49:39-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2021-10-18 10:49:39-07:00
log75c8c4442d1dd6fe43fbef1bfeaded360a98fe51
tree53f006960b55e060f69b61ebeda1ffad015390d7
parent79a3dfcfd8c822096ed40fbe6f930d614a8dcb40

coff linking: honor the link_libunwind flag


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

src/link/Coff.zig+4
......@@ -1263,6 +1263,10 @@ fn linkWithLLD(self: *Coff, comp: *Compilation) !void {
12631263 if (self.base.options.link_libcpp) {
12641264 try argv.append(comp.libcxxabi_static_lib.?.full_object_path);
12651265 try argv.append(comp.libcxx_static_lib.?.full_object_path);
1266 }
1267
1268 // libunwind dep
1269 if (self.base.options.link_libunwind) {
12661270 try argv.append(comp.libunwind_static_lib.?.full_object_path);
12671271 }
12681272