fix(build): more changes to make zig 0.16.0 work

This commit is contained in:
bfredl
2026-01-08 11:01:30 +01:00
parent 48c37297b4
commit 52693e7af3
12 changed files with 87 additions and 109 deletions

View File

@@ -200,7 +200,7 @@ fn findLpeg(b: *std.Build, io: std.Io, target: std.Target) !?[]const u8 {
"--variable=pc_system_libdirs",
"--keep-system-cflags",
"pkg-config",
}, &code, .Ignore), "\r\n");
}, &code, .ignore), "\r\n");
var paths: std.ArrayList([]const u8) = try .initCapacity(b.allocator, 0);
var path_it = std.mem.tokenizeAny(u8, dirs_stdout, " ,");
while (path_it.next()) |dir| {