mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
nodejs12: apply patch to avoid bundle libuv
This commit is contained in:
@@ -635,3 +635,39 @@ index d54e7c6..0643dd3 100644
|
||||
--
|
||||
2.30.2
|
||||
|
||||
From c1b5978747709c2ce6516c1771354545d6c53060 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Lal?= <kapouer@melix.org>
|
||||
Date: Mon, 5 Jul 2021 00:22:46 +0200
|
||||
Subject: [PATCH] build: uvwasi honours node_shared_libuv
|
||||
|
||||
Fix #39248.
|
||||
---
|
||||
deps/uvwasi/uvwasi.gyp | 8 +++++---
|
||||
1 file changed, 5 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/deps/uvwasi/uvwasi.gyp b/deps/uvwasi/uvwasi.gyp
|
||||
index d4189eeee2fc..5822f8d59bd9 100644
|
||||
--- a/deps/uvwasi/uvwasi.gyp
|
||||
+++ b/deps/uvwasi/uvwasi.gyp
|
||||
@@ -18,9 +18,6 @@
|
||||
'src/wasi_rights.c',
|
||||
'src/wasi_serdes.c',
|
||||
],
|
||||
- 'dependencies': [
|
||||
- '../uv/uv.gyp:libuv',
|
||||
- ],
|
||||
'direct_dependent_settings': {
|
||||
'include_dirs': ['include']
|
||||
},
|
||||
@@ -31,6 +28,11 @@
|
||||
'_POSIX_C_SOURCE=200112',
|
||||
],
|
||||
}],
|
||||
+ [ 'node_shared_libuv=="false"', {
|
||||
+ 'dependencies': [
|
||||
+ '../uv/uv.gyp:libuv',
|
||||
+ ],
|
||||
+ }],
|
||||
],
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user