pkg/fontconfig: depend on libxml2

This commit is contained in:
Mitchell Hashimoto
2023-10-01 14:55:47 -07:00
parent 7a27228660
commit 5f8dbb498f
2 changed files with 3 additions and 2 deletions

View File

@ -24,8 +24,8 @@ pub fn build(b: *std.Build) !void {
lib.linkLibrary(freetype_dep.artifact("freetype")); lib.linkLibrary(freetype_dep.artifact("freetype"));
} }
if (libxml2_enabled) { if (libxml2_enabled) {
// const libxml2_dep = b.dependency("libxml2", .{ .target = target, .optimize = optimize }); const libxml2_dep = b.dependency("libxml2", .{ .target = target, .optimize = optimize });
// lib.linkLibrary(libxml2_dep.artifact("xml2")); lib.linkLibrary(libxml2_dep.artifact("xml2"));
} }
lib.addIncludePath(upstream.path("")); lib.addIncludePath(upstream.path(""));

View File

@ -8,5 +8,6 @@
}, },
.freetype = .{ .path = "../freetype" }, .freetype = .{ .path = "../freetype" },
.libxml2 = .{ .path = "../libxml2" },
}, },
} }