diff options
Diffstat (limited to 'dev-lang/zig/files/zig-9999-stage2-fix.patch')
-rw-r--r-- | dev-lang/zig/files/zig-9999-stage2-fix.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-lang/zig/files/zig-9999-stage2-fix.patch b/dev-lang/zig/files/zig-9999-stage2-fix.patch new file mode 100644 index 000000000000..520be382c562 --- /dev/null +++ b/dev-lang/zig/files/zig-9999-stage2-fix.patch @@ -0,0 +1,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"); |