Skip to content

Commit 50a0710

Browse files
committed
deps: link Synchronization.lib in uv.gyp
libuv 1.53.0 uses WaitOnAddress() and WakeByAddressSingle() in src/win/pipe.c (uv__pipe_begin_synchronous_io and uv__pipe_cancel_synchronous_io). Those live in Synchronization.lib, which libuv's CMakeLists.txt links but Node's uv.gyp did not, so the Windows link of node_js2c fails with unresolved externals. Refs: #66282 Assisted-by: a closed-source coding agent
1 parent d44f17a commit 50a0710

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎deps/uv/uv.gyp‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@
208208
'-liphlpapi',
209209
'-lpsapi',
210210
'-lshell32',
211+
'-lsynchronization',
211212
'-luser32',
212213
'-luserenv',
213214
'-luuid',

0 commit comments

Comments
 (0)