Skip to content

Commit 7571317

Browse files
committed
Fix build errors when HarfBuzz is enabled
1 parent db20173 commit 7571317

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ pub fn build(b: *std.Build) void {
2525
.optimize = optimize,
2626
});
2727
lib.linkLibrary(harfbuzz_dep.artifact("harfbuzz"));
28-
lib.root_module.addCMacro("TTF_USE_HARFBUZZ", "");
28+
lib.root_module.addCMacro("TTF_USE_HARFBUZZ", "1");
2929
}
3030

3131
const freetype_dep = b.dependency("freetype", .{

0 commit comments

Comments
 (0)