build.zig: fix for latest zig

This commit is contained in:
Luna 2021-04-03 21:09:30 -03:00
parent ebf716de17
commit 2acb45fdca
1 changed files with 2 additions and 2 deletions

View File

@ -24,14 +24,14 @@ fn setupLinks(step: *builds.LibExeObjStep) void {
for (possible_lilv_include_dirs) |possible_lilv_dir| {
var possible_dir = std.fs.cwd().openDir(possible_lilv_dir, .{}) catch |err| {
std.debug.warn("possible lilv {} fail: {}\n", .{ possible_lilv_dir, err });
std.debug.warn("possible lilv {s} fail: {s}\n", .{ possible_lilv_dir, err });
continue;
};
possible_dir.close();
found_any_lilv = true;
std.debug.warn("found lilv at '{}'\n", .{possible_lilv_dir});
std.debug.warn("found lilv at '{s}'\n", .{possible_lilv_dir});
step.addIncludeDir(possible_lilv_dir);
}