summaryrefslogtreecommitdiff
path: root/devel/electron33/files/patch-build_toolchain_toolchain.gni
blob: 33c3707bc605a9d86066e0995118b90eba5b92a7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- build/toolchain/toolchain.gni.orig	2024-08-14 20:54:23 UTC
+++ build/toolchain/toolchain.gni
@@ -72,7 +72,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")