Skip to content

Commit

Permalink
build: uvwasi honours node_shared_libuv
Browse files Browse the repository at this point in the history
Fix #39248.

PR-URL: #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>
  • Loading branch information
kapouer authored and targos committed Jul 11, 2021
1 parent f06ebf1 commit a7cd40e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions deps/uvwasi/uvwasi.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@
'src/wasi_rights.c',
'src/wasi_serdes.c',
],
'dependencies': [
'../uv/uv.gyp:libuv',
],
'direct_dependent_settings': {
'include_dirs': ['include']
},
Expand All @@ -31,6 +28,11 @@
'_POSIX_C_SOURCE=200112',
],
}],
[ 'node_shared_libuv=="false"', {
'dependencies': [
'../uv/uv.gyp:libuv',
],
}],
],
}
]
Expand Down

0 comments on commit a7cd40e

Please sign in to comment.