From 40e46321b01ef13fbad1c66152ee76aa2105eac1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Lal?= Date: Mon, 5 Jul 2021 00:22:46 +0200 Subject: [PATCH] build: uvwasi honours node_shared_libuv MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix #39248. PR-URL: https://github.com/nodejs/node/pull/39260 Reviewed-By: Richard Lau Reviewed-By: Tobias Nießen Reviewed-By: Colin Ihrig Reviewed-By: James M Snell --- 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 d4189eeee2fc94..5822f8d59bd9e9 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', + ], + }], ], } ]