mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-06-03 18:34:50 +00:00
core: add macos system include path
This commit is contained in:
@@ -159,6 +159,12 @@ pub fn add(
|
||||
.target = target,
|
||||
.optimize = optimize,
|
||||
});
|
||||
const libc = try std.zig.LibCInstallation.findNative(.{
|
||||
.allocator = b.allocator,
|
||||
.target = target,
|
||||
.verbose = false,
|
||||
});
|
||||
c.addSystemIncludePath(.{ .cwd_relative = libc.sys_include_dir.? });
|
||||
step.root_module.addImport("pty-c", c.createModule());
|
||||
},
|
||||
else => {},
|
||||
|
||||
Reference in New Issue
Block a user