fix rglfw.c path in build.zig for bsd platforms (#5486)

This commit is contained in:
James Mintram
2026-01-11 21:01:14 +00:00
committed by GitHub
parent 4badbe2b17
commit d7c38cfbe4

View File

@ -348,7 +348,7 @@ fn compileRaylib(b: *std.Build, target: std.Build.ResolvedTarget, optimize: std.
}
},
.freebsd, .openbsd, .netbsd, .dragonfly => {
try c_source_files.append(b.allocator, "rglfw.c");
try c_source_files.append(b.allocator, "src/rglfw.c");
raylib.root_module.linkSystemLibrary("GL", .{});
raylib.root_module.linkSystemLibrary("rt", .{});
raylib.root_module.linkSystemLibrary("dl", .{});