aboutsummaryrefslogtreecommitdiff
path: root/devel/electron27/files/patch-build_toolchain_toolchain.gni
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron27/files/patch-build_toolchain_toolchain.gni')
-rw-r--r--devel/electron27/files/patch-build_toolchain_toolchain.gni11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron27/files/patch-build_toolchain_toolchain.gni b/devel/electron27/files/patch-build_toolchain_toolchain.gni
new file mode 100644
index 000000000000..087f09c44bcb
--- /dev/null
+++ b/devel/electron27/files/patch-build_toolchain_toolchain.gni
@@ -0,0 +1,11 @@
+--- build/toolchain/toolchain.gni.orig 2023-10-19 19:57:59 UTC
++++ build/toolchain/toolchain.gni
+@@ -67,7 +67,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") {
++} else if (is_posix) {
+ host_shlib_extension = ".so"
+ } else {
+ assert(false, "Host platform not supported")