opnsense-ports/devel/electron32/files/patch-build_toolchain_toolchain.gni
Franco Fichtner fd3bf1794a */*: sync with upstream
Taken from: FreeBSD
2024-09-23 09:02:17 +02:00

11 lines
427 B
Text

--- 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")