Browse Source

build.zig fix: link EGL for Android

pull/4936/head
Lumen Keyes 5 months ago
parent
commit
dea6a24777
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      build.zig

+ 1
- 0
build.zig View File

@ -256,6 +256,7 @@ fn compileRaylib(b: *std.Build, target: std.Build.ResolvedTarget, optimize: std.
raylib.root_module.linkSystemLibrary("GLESv2", .{});
raylib.root_module.addCMacro("GRAPHICS_API_OPENGL_ES2", "");
}
raylib.root_module.linkSystemLibrary("EGL");
setDesktopPlatform(raylib, .android);
} else {

Loading…
Cancel
Save