Преглед изворни кода

properly detect if abi is android

pull/4927/head
lumenkeyes пре 3 дана
committed by GitHub
родитељ
комит
eae3fd83d5
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 измењених фајлова са 1 додато и 1 уклоњено
  1. +1
    -1
      build.zig

+ 1
- 1
build.zig Прегледај датотеку

@ -205,7 +205,7 @@ fn compileRaylib(b: *std.Build, target: std.Build.ResolvedTarget, optimize: std.
raylib.root_module.addCMacro("PLATFORM_DRM", "");
raylib.root_module.addCMacro("EGL_NO_X11", "");
raylib.root_module.addCMacro("DEFAULT_BATCH_BUFFER_ELEMENT", "");
} else if (target.result.abi == .android) {
} else if (target.result.abi.isAndroid()) {
//these are the only tag options per https://developer.android.com/ndk/guides/other_build_systems
const hostTuple = switch (builtin.target.os.tag) {

Loading…
Откажи
Сачувај