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:
kamidev 2022-05-27 15:47:44 +02:00 committed by Stephen Gutekanst
parent f2ab1eb069
commit 68190e863a
4 changed files with 8 additions and 8 deletions

View file

@ -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 {