diff --git a/build.zig b/build.zig index 109adac..2fa7265 100644 --- a/build.zig +++ b/build.zig @@ -4,7 +4,7 @@ pub fn build(b: *std.Build) void { const optimize = b.standardOptimizeOption(.{}); const target = b.standardTargetOptions(.{}); - _ = b.addModule("objc", .{ .source_file = .{ .path = "src/main.zig" } }); + _ = b.addModule("objc", .{ .root_source_file = .{ .path = "src/main.zig" } }); const tests = b.addTest(.{ .name = "objc-test", diff --git a/build.zig.zon b/build.zig.zon index 6c497cb..d6b5f86 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -10,8 +10,8 @@ }, .dependencies = .{ .macos_sdk = .{ - .url = "https://github.com/mitchellh/zig-build-macos-sdk/archive/7e50d6ea241403615d5ebc9f1df4680d3907fa92.tar.gz", - .hash = "1220eb266898413ecfe5aaf7f29cc17eb479d046adecc94ebc7d5e1e807d2aabdd70", + .url = "https://github.com/mitchellh/zig-build-macos-sdk/archive/4186e9fd445d12041651abe59ea5f396499b0844.tar.gz", + .hash = "1220bc2612b57b0cfaaecbcac38e3144e5a9362ff668d71eb8334e895047bdbb7148", }, }, }