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 <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
kapouer authored and targos committed Sep 4, 2021
1 parent b4a0c5a commit 40e4632
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 40e4632

Please sign in to comment.