diff --git a/tools/tirith_security.py b/tools/tirith_security.py index 44710ee608..85281e27da 100644 --- a/tools/tirith_security.py +++ b/tools/tirith_security.py @@ -186,9 +186,10 @@ def _detect_target() -> str | None: system = platform.system() machine = platform.machine().lower() + # Android (Termux) is ABI-compatible with Linux — reuse Linux binaries. if system == "Darwin": plat = "apple-darwin" - elif system == "Linux": + elif system in ("Linux", "Android"): plat = "unknown-linux-gnu" else: return None