freetype: add option to build using separate zlib (#621)

This commit is contained in:
David Vanderson 2022-11-22 12:22:10 -05:00 committed by GitHub
parent 9b9852b56e
commit 305fa7fa35
Failed to generate hash of commit
2 changed files with 7 additions and 0 deletions

View file

@ -30,6 +30,9 @@ pub fn build(b: *Builder) void {
...
exe.addPackage(freetype.pkg);
freetype.link(b, exe, .{});
// use this option if you are including zlib separately
//freetype.link(b, exe, .{ .freetype = .{ .use_system_zlib = true } });
}
```