build: uvwasi honours node_shared_libuv

Fix #39248.

PR-URL: https://github.com/nodejs/node/pull/39260
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
Jérémy Lal authored and Michaël Zasso committed 2021-09-04 12:45:53 +02:00
1 parent b4a0c5a384
commit 40e46321b0
1 file changed
+5 -3
+5 -3
View File
@@ -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',
],
}],
],
}
]