pkg/fontconfig: windows check more readable

This commit is contained in:
Krzysztof Wolicki
2023-10-19 17:21:23 +02:00
parent cf9f025a5b
commit b830deb8a9

View File

@ -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"));
}