diff --git a/build.zig b/build.zig index 4f2f91077..7bf31c193 100644 --- a/build.zig +++ b/build.zig @@ -29,7 +29,7 @@ pub fn build(b: *std.Build) void { lib.defineCMacro("HAVE_UNISTD_H", "1"); lib.addCSourceFiles(.{ .files = &sources, .flags = &.{} }); - if (target.toTarget().os.tag == .macos) lib.addCSourceFile(.{ + if (target.result.os.tag == .macos) lib.addCSourceFile(.{ .file = .{ .path = "src/base/ftmac.c" }, .flags = &.{}, }); diff --git a/build.zig.zon b/build.zig.zon index 4114425f2..a29eedc15 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -13,8 +13,8 @@ }, .dependencies = .{ .brotli = .{ - .url = "https://pkg.machengine.org/brotli/13f8e428c00cc28b051f5c05e528b0ab65b0c834.tar.gz", - .hash = "1220682fcfe1caaa9160a6e6243821c21f0c080e4150c9e100f81e969a407a34d432", + .url = "https://pkg.machengine.org/brotli/62ab0d6a477ba89cbca5c690369bfe37cf56ff79.tar.gz", + .hash = "1220029950e0c3d0828f39aae7e7b9cda366cc5d2d23df625587307f4b5c18fd1307", }, }, }