update build.zig to 0.12.0-dev.2139 and add shared lib option

This commit is contained in:
Andrew Lee 2024-01-11 12:48:07 -07:00
commit 60c2d87ec6

View file

@ -2,6 +2,6 @@ const std = @import("std");
const raylib = @import("src/build.zig");
// This has been tested to work with zig 0.11.0 and zig 0.12.0-dev.2075+f5978181e
pub fn build(b: *std.Build) void {
raylib.build(b);
pub fn build(b: *std.Build) !void {
try raylib.build(b);
}