diff --git a/build.zig b/build.zig index c7397d21..d65efc57 100644 --- a/build.zig +++ b/build.zig @@ -14,13 +14,13 @@ pub fn build(b: *std.Build) void { .target = target, .optimize = optimize, }); - addPaths(main_tests); + addPaths(&main_tests.root_module); main_tests.linkFramework("Foundation"); const test_step = b.step("test", "Run library tests"); test_step.dependOn(&b.addRunArtifact(main_tests).step); } -pub fn addPaths(step: *std.Build.Step.Compile) void { - @import("xcode_frameworks").addPaths(step); +pub fn addPaths(mod: *std.Build.Module) void { + @import("xcode_frameworks").addPaths(mod); } diff --git a/build.zig.zon b/build.zig.zon index 529d176c..4f538aa2 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -14,8 +14,8 @@ }, .dependencies = .{ .xcode_frameworks = .{ - .url = "https://pkg.machengine.org/xcode-frameworks/ff1f5c15120b65504d8feccca8015a7e96ed580c.tar.gz", - .hash = "12207bc2707695102c636c26b60343e634127ee4d6e23210b1ae1664b2b2fea6076f", + .url = "https://pkg.machengine.org/xcode-frameworks/e7c2abbe28efbb5ae7f04e6c1ac6578a6d75bb67.tar.gz", + .hash = "1220432df3c74dc28bd6cc299e5c8317bc65a95219e6ebf40450c157d8c7a3ac54c0", }, }, }