Readd windows emscripten variables
This commit is contained in:
parent
63dffa7f2d
commit
417c6d6e3a
1 changed files with 13 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ pub fn addRaylib(b: *std.build.Builder, target: std.zig.CrossTarget) *std.build.
|
|||
srcdir ++ "/utils.c",
|
||||
}, raylib_flags);
|
||||
|
||||
switch (raylib.target.toTarget().os.tag) {
|
||||
switch (target.getOsTag()) {
|
||||
.windows => {
|
||||
raylib.addCSourceFiles(&.{srcdir ++ "/rglfw.c"}, raylib_flags);
|
||||
raylib.linkSystemLibrary("winmm");
|
||||
|
|
|
|||
Loading…
Reference in a new issue