Update build.zig

This commit is contained in:
Ray 2025-08-31 12:02:06 +02:00 • committed by GitHub
commit 1765b3229f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -231,6 +231,7 @@ fn compileRaylib(b: *std.Build, target: std.Build.ResolvedTarget, optimize: std.
.glfw => try c_source_files.append(b.allocator, "src/rglfw.c"),
.rgfw, .sdl, .drm, .android => {},
}
raylib.root_module.linkSystemLibrary("winmm", .{});
raylib.root_module.linkSystemLibrary("gdi32", .{});
raylib.root_module.linkSystemLibrary("opengl32", .{});