Index: build/toolchain/toolchain.gni --- build/toolchain/toolchain.gni.orig +++ 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")