build: clarify ANDROID_NDK_HOME variable description

This commit is contained in:
Elias Andualem
2026-02-21 23:43:34 +08:00
parent e7cfb17d5a
commit b728e41d77

View File

@@ -9,9 +9,9 @@ pub fn build(_: *std.Build) !void {}
// in the default location.
//
// The environment variables can be set as follows:
// - `ANDROID_NDK_HOME`: Directly points to the NDK path.
// - `ANDROID_NDK_HOME`: Directly points to the NDK path, including the version.
// - `ANDROID_HOME` or `ANDROID_SDK_ROOT`: Points to the Android SDK path;
// latest NDK will be automatically selected.
// latest available NDK will be automatically selected.
//
// NB: This is a workaround until zig natively supports bionic
// cross-compilation (ziglang/zig#23906).