Skip to content

Commit

Permalink
build.zig: Fix cross-compiling from Linux (#3090)
Browse files Browse the repository at this point in the history
  • Loading branch information
yujiri8 committed May 30, 2023
1 parent 924bb72 commit 45c00ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ pub fn addRaylib(b: *std.Build, target: std.zig.CrossTarget, optimize: std.built
raylib.linkSystemLibrary("dl");
raylib.linkSystemLibrary("m");
raylib.linkSystemLibrary("X11");
raylib.addIncludePath("/usr/include");

raylib.defineCMacro("PLATFORM_DESKTOP", null);
},
Expand Down

0 comments on commit 45c00ab

Please sign in to comment.