no more system_sdk

This commit is contained in:
Mitchell Hashimoto
2023-10-01 17:38:30 -07:00
parent 3a4842a0a5
commit d71197dc59
2 changed files with 1 additions and 4 deletions

View File

@@ -35,7 +35,7 @@ pub fn addPaths(b: *std.Build, step: *std.build.CompileStep) !void {
);
// https://github.com/ziglang/zig/issues/17358
b.sysroot = xSdkPath("/zig-cache/xcode_frameworks");
if (step.target.isNative()) b.sysroot = xSdkPath("/zig-cache/xcode_frameworks");
step.addSystemFrameworkPath(.{ .path = xSdkPath("/zig-cache/xcode_frameworks/Frameworks") });
step.addSystemIncludePath(.{ .path = xSdkPath("/zig-cache/xcode_frameworks/include") });