Browse Source

Merge pull request #4936 from lumenkeyes/master

build.zig fixes for android targets
pull/4941/head
Ray 5 months ago
committed by GitHub
parent
commit
15a0cf89b8
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
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