Skip to content

Commit

Permalink
don't error if gtk4 pkg-config configuration could not be found (#4683)
Browse files Browse the repository at this point in the history
this prevents issues with people running `zig build --help` without gtk4
development stuff installed

same as #4546
  • Loading branch information
mitchellh authored Jan 6, 2025
2 parents 6181487 + 781159a commit d0b06bd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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| {
Expand Down

0 comments on commit d0b06bd

Please sign in to comment.