mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-08-24 08:01:45 +00:00
build: fix Linux Android SDK fallback path (#13705)
Use the standard `~/Android/Sdk` capitalization for the Linux SDK fallback. This lets NDK discovery work when neither `ANDROID_NDK_HOME` nor an `SDK` environment variable is set.
This commit is contained in:
@@ -143,9 +143,8 @@ fn findNDKPath(b: *std.Build) ?[]const u8 {
|
||||
&.{
|
||||
home,
|
||||
switch (builtin.os.tag) {
|
||||
.linux => "Android/sdk",
|
||||
.linux, .windows => "Android/Sdk",
|
||||
.macos => "Library/Android/Sdk",
|
||||
.windows => "Android/Sdk",
|
||||
else => return null,
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user