mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +03:00
don't error if gtk4 pkg-config configuration could not be found (#4683)
this prevents issues with people running `zig build --help` without gtk4 development stuff installed same as #4546
This commit is contained in:
@ -145,7 +145,6 @@ pub fn build(b: *std.Build) !void {
|
|||||||
if (std.mem.indexOf(u8, stdout.items, "wayland")) |_| wayland = true;
|
if (std.mem.indexOf(u8, stdout.items, "wayland")) |_| wayland = true;
|
||||||
} else {
|
} else {
|
||||||
std.log.warn("pkg-config: {s} with code {d}", .{ @tagName(term), code });
|
std.log.warn("pkg-config: {s} with code {d}", .{ @tagName(term), code });
|
||||||
return error.Unexpected;
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
inline else => |code| {
|
inline else => |code| {
|
||||||
|
Reference in New Issue
Block a user