don't error if gtk4 pkg-config configuration could not be found

this prevents issues with people running `zig build --help` without gtk4 installed

same as #4546
This commit is contained in:
Jan200101
2025-01-06 14:53:57 +01:00
parent 6181487bad
commit 781159af7d

View File

@ -145,7 +145,6 @@ pub fn build(b: *std.Build) !void {
if (std.mem.indexOf(u8, stdout.items, "wayland")) |_| wayland = true;
} else {
std.log.warn("pkg-config: {s} with code {d}", .{ @tagName(term), code });
return error.Unexpected;
}
},
inline else => |code| {