blob: 520be382c562e3ce43b1778311f1876aad0b44b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
diff --git a/build.zig b/build.zig
index 4d3cf49..4601935 100644
--- a/build.zig
+++ b/build.zig
@@ -550,6 +550,7 @@ fn addCmakeCfgOptionsToExe(
else => |e| return e,
};
exe.linkSystemLibrary("unwind");
+ exe.linkSystemLibrary("c_nonshared");
} else if (exe.target.isFreeBSD()) {
try addCxxKnownPath(b, cfg, exe, "libc++.a", null, need_cpp_includes);
exe.linkSystemLibrary("pthread");
|