--- build/toolchain/toolchain.gni.orig	2026-01-07 00:52:53 UTC
+++ build/toolchain/toolchain.gni
@@ -64,7 +64,7 @@ if (host_os == "mac") {
   host_shlib_extension = ".dylib"
 } else if (host_os == "win") {
   host_shlib_extension = ".dll"
-} else if (host_os == "linux" || host_os == "aix" || host_os == "zos") {
+} else if (is_posix) {
   host_shlib_extension = ".so"
 } else {
   assert(false, "Host platform not supported")
