build.zig: fix for latest zig
This commit is contained in:
parent
ebf716de17
commit
2acb45fdca
1 changed files with 2 additions and 2 deletions
|
@ -24,14 +24,14 @@ fn setupLinks(step: *builds.LibExeObjStep) void {
|
||||||
|
|
||||||
for (possible_lilv_include_dirs) |possible_lilv_dir| {
|
for (possible_lilv_include_dirs) |possible_lilv_dir| {
|
||||||
var possible_dir = std.fs.cwd().openDir(possible_lilv_dir, .{}) catch |err| {
|
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;
|
continue;
|
||||||
};
|
};
|
||||||
|
|
||||||
possible_dir.close();
|
possible_dir.close();
|
||||||
found_any_lilv = true;
|
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);
|
step.addIncludeDir(possible_lilv_dir);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue