mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +03:00
pkg/apple-sdk: set sysroot
This commit is contained in:
@ -34,7 +34,7 @@ pub fn addPaths(b: *std.Build, step: *std.build.CompileStep) !void {
|
|||||||
xSdkPath("/zig-cache/xcode_frameworks"),
|
xSdkPath("/zig-cache/xcode_frameworks"),
|
||||||
);
|
);
|
||||||
|
|
||||||
// This may be a bug in Zig.
|
// https://github.com/ziglang/zig/issues/17358
|
||||||
b.sysroot = xSdkPath("/zig-cache/xcode_frameworks");
|
b.sysroot = xSdkPath("/zig-cache/xcode_frameworks");
|
||||||
|
|
||||||
step.addSystemFrameworkPath(.{ .path = xSdkPath("/zig-cache/xcode_frameworks/Frameworks") });
|
step.addSystemFrameworkPath(.{ .path = xSdkPath("/zig-cache/xcode_frameworks/Frameworks") });
|
||||||
|
Reference in New Issue
Block a user