update build.zig to 0.12.0-dev.2139 and add shared lib option
This commit is contained in:
parent
9d628d1d49
commit
60c2d87ec6
1 changed files with 43 additions and 32 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue