From ff496525d99891c5f7c355a8edb1233372443955 Mon Sep 17 00:00:00 2001 From: notcancername Date: Tue, 23 Dec 2025 16:48:31 +0100 Subject: [PATCH] update for zig master --- build.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.zig b/build.zig index cff57b3..ef83146 100644 --- a/build.zig +++ b/build.zig @@ -23,7 +23,7 @@ pub fn build(b: *std.Build) void { const cflags_with_pic = base_cflags ++ [_][]const u8{"-fPIC"}; const cflags = if (pic orelse false) &cflags_with_pic else &base_cflags; - lib.addCSourceFiles(.{ + lib.root_module.addCSourceFiles(.{ .root = upstream.path(""), .files = &.{ "adler32.c",