Change std.build.Pkg.path -> std.build.Pkg.source
Fixes breaking change in latest Zig master, see https://github.com/ziglang/zig/pull/11557
This commit is contained in:
parent
f2ab1eb069
commit
68190e863a
4 changed files with 8 additions and 8 deletions
|
|
@ -54,7 +54,7 @@ pub const Options = struct {
|
|||
|
||||
pub const pkg = std.build.Pkg{
|
||||
.name = "freetype",
|
||||
.path = .{ .path = thisDir() ++ "/src/main.zig" },
|
||||
.source = .{ .path = thisDir() ++ "/src/main.zig" },
|
||||
};
|
||||
|
||||
pub fn link(b: *Builder, step: *std.build.LibExeObjStep, options: Options) void {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue