build: fix linking bugs for macos test

This commit is contained in:
Mitchell Hashimoto
2023-08-18 08:23:58 -07:00
parent 0bdd73797e
commit 7659a2a733
2 changed files with 4 additions and 0 deletions

View File

@ -703,6 +703,9 @@ fn addDeps(
step.addModule("objc", objc.module(b));
step.addModule("macos", mod_macos);
_ = try macos.link(b, step, .{});
// todo: do this is in zig-objc instead.
step.linkSystemLibraryName("objc");
}
// Tracy

View File

@ -37,6 +37,7 @@ pub fn link(
});
step.linkFramework("Carbon");
step.linkFramework("CoreFoundation");
step.linkFramework("CoreGraphics");
step.linkFramework("CoreText");
return lib;
}