freetype: README: fix build.zig example (#300)
This commit is contained in:
parent
93c52b62ac
commit
1a082ef5a7
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ const freetype = @import("libs/mach-freetype/build.zig");
|
||||||
|
|
||||||
pub fn build(b: *Builder) void {
|
pub fn build(b: *Builder) void {
|
||||||
...
|
...
|
||||||
exe.addPackagePath("freetype", freetype.pkg);
|
exe.addPackage(freetype.pkg);
|
||||||
freetype.link(b, exe, .{});
|
freetype.link(b, exe, .{});
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue