summaryrefslogtreecommitdiff
path: root/www/deno/files/patch-build_toolchain_toolchain.gni
diff options
context:
space:
mode:
authorMikael Urankar <mikael@FreeBSD.org>2024-09-07 11:16:59 +0200
committerMikael Urankar <mikael@FreeBSD.org>2024-09-07 13:07:05 +0200
commite5be14aead14a9117e49c0eed0eb11b2dbfb7a4d (patch)
treeccec9b1713e7374da57804ae1c02e4055b542afa /www/deno/files/patch-build_toolchain_toolchain.gni
parentwww/nextcloud-groupfolders: Update to 17.0.3 (diff)
www/deno: Update to 1.46.2
Diffstat (limited to 'www/deno/files/patch-build_toolchain_toolchain.gni')
-rw-r--r--www/deno/files/patch-build_toolchain_toolchain.gni11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/deno/files/patch-build_toolchain_toolchain.gni b/www/deno/files/patch-build_toolchain_toolchain.gni
new file mode 100644
index 000000000000..d9a0e37e6380
--- /dev/null
+++ b/www/deno/files/patch-build_toolchain_toolchain.gni
@@ -0,0 +1,11 @@
+--- cargo-crates/v8-0.105.0/build/toolchain/toolchain.gni.orig 2024-03-22 08:19:40 UTC
++++ cargo-crates/v8-0.105.0/build/toolchain/toolchain.gni
+@@ -68,7 +68,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")