mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +03:00
pkg/fontconfig: windows check more readable
This commit is contained in:
@ -29,7 +29,7 @@ pub fn build(b: *std.Build) !void {
|
||||
const libxml2_dep = b.dependency("libxml2", .{
|
||||
.target = target,
|
||||
.optimize = optimize,
|
||||
.iconv = !(target.getOsTag() == .windows) or iconv_win_enabled,
|
||||
.iconv = target.getOsTag() != .windows or iconv_win_enabled,
|
||||
});
|
||||
lib.linkLibrary(libxml2_dep.artifact("xml2"));
|
||||
}
|
||||
|
Reference in New Issue
Block a user