mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
Enable libpng in harfbuzz freetype dep
Without this, this replaces the dep on the main level, breaking color glyphs
This commit is contained in:
@ -41,7 +41,11 @@ pub fn build(b: *std.Build) !void {
|
||||
try apple_sdk.addPaths(b, module);
|
||||
}
|
||||
|
||||
const freetype_dep = b.dependency("freetype", .{ .target = target, .optimize = optimize });
|
||||
const freetype_dep = b.dependency("freetype", .{
|
||||
.target = target,
|
||||
.optimize = optimize,
|
||||
.@"enable-libpng" = true,
|
||||
});
|
||||
lib.linkLibrary(freetype_dep.artifact("freetype"));
|
||||
module.addIncludePath(freetype_dep.builder.dependency("freetype", .{}).path("include"));
|
||||
|
||||
|
Reference in New Issue
Block a user