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
pull/4683/head
Jan200101 2025-01-06 14:53:57 +01:00
parent 6181487bad
commit 781159af7d
No known key found for this signature in database
GPG Key ID: 5B71B1D78B882E05
1 changed files with 0 additions and 1 deletions

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| {