We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d5a31b commit b328887Copy full SHA for b328887
examples/raylib/build.zig
@@ -57,6 +57,13 @@ pub fn build(b: *std.Build) void {
57
.optimize = optimize,
58
.android_api_version = @as([]const u8, b.fmt("{}", .{@intFromEnum(apk.api_level)})),
59
.android_ndk = @as([]const u8, apk.ndk.path),
60
+ // NOTE(jae): 2025-09-19
61
+ // Avoid compilation errors on Linux systems that don't have 'wayland-scanner'
62
+ // ie.
63
+ // $ zig build -Dandroid=true --verbose
64
+ // `wayland-scanner` may not be installed on the system.
65
+ // You can switch to X11 in your `build.zig` by changing `Options.linux_display_backend`
66
+ .linux_display_backend = .X11, // Avoid build issues on Linux systems
67
})
68
else
69
b.dependency("raylib_zig", .{
0 commit comments