mirror of
https://github.com/raysan5/raylib.git
synced 2026-01-07 05:56:38 +00:00
build.zig: Clean up my mess (#4387)
This commit is contained in:
parent
c6d67f006d
commit
dc5e6e0ad0
@ -68,7 +68,7 @@ fn srcDir(b: *std.Build) []const u8 {
|
||||
@compileError("Please take a look at this function again");
|
||||
}
|
||||
|
||||
const src_file = std.fs.path.relative(b.allocator, @src().file, ".") catch @panic("OOM");
|
||||
const src_file = std.fs.path.relative(b.allocator, ".", @src().file) catch @panic("OOM");
|
||||
return std.fs.path.dirname(src_file) orelse ".";
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user