Update changed build.zig

This commit is contained in:
Krzysztof Wolicki
2024-01-07 15:00:17 +01:00
parent 710b02a2ab
commit 5776c54225

View File

@ -253,7 +253,7 @@ pub fn build(b: *std.Build) !void {
// Building with LTO on Windows is broken.
// https://github.com/ziglang/zig/issues/15958
if (target.isWindows()) exe.want_lto = false;
if (target.result.os.tag == .windows) exe.want_lto = false;
// If we're installing, we get the install step so we can add
// additional dependencies to it.