mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-04-20 00:18:53 +03:00
no more system_sdk
This commit is contained in:
@ -14,8 +14,6 @@ const LipoStep = @import("src/build/LipoStep.zig");
|
||||
const XCFrameworkStep = @import("src/build/XCFrameworkStep.zig");
|
||||
const Version = @import("src/build/Version.zig");
|
||||
|
||||
const system_sdk = @import("vendor/mach-glfw/system_sdk.zig");
|
||||
|
||||
// Do a comptime Zig version requirement. The required Zig version is
|
||||
// somewhat arbitrary: it is meant to be a version that we feel works well,
|
||||
// but we liberally update it. In the future, we'll be more careful about
|
||||
@ -851,7 +849,6 @@ fn addSystemSDK(
|
||||
step: *std.Build.CompileStep,
|
||||
) !void {
|
||||
if (step.target.isDarwin()) {
|
||||
system_sdk.include(b, step, .{});
|
||||
try @import("apple_sdk").addPaths(b, step);
|
||||
}
|
||||
|
||||
|
@ -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") });
|
||||
|
Reference in New Issue
Block a user