--- build/toolchain/toolchain.gni.orig 2023-08-10 01:48:31 UTC +++ build/toolchain/toolchain.gni @@ -62,7 +62,7 @@ if (host_os == "mac") { host_shlib_extension = ".dylib" } else if (host_os == "win") { host_shlib_extension = ".dll" -} else if (host_os == "linux") { +} else if (is_posix) { host_shlib_extension = ".so" } else { assert(false, "Host platform not supported")