pkg/macos

This commit is contained in:
Mitchell Hashimoto
2023-10-01 17:02:12 -07:00
parent fefbd7afbe
commit ec26fb7cee
3 changed files with 25 additions and 36 deletions

View File

@@ -739,7 +739,7 @@ fn addDeps(
if (step.target.isDarwin()) {
step.addModule("objc", objc_dep.module("objc"));
step.addModule("macos", macos_dep.module("macos"));
//_ = try macos.link(b, step, .{});
step.linkLibrary(macos_dep.artifact("macos"));
// todo: do this is in zig-objc instead.
step.linkSystemLibraryName("objc");