0d47340150
See https://github.com/void-linux/void-packages/issues/29034. `shared-uv.patch` has been in the repo for a while but was slightly broken.
25 lines
604 B
Diff
25 lines
604 B
Diff
--- deps/uvwasi/uvwasi.gyp.orig
|
|
+++ 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,12 @@
|
|
'_POSIX_C_SOURCE=200112',
|
|
],
|
|
}],
|
|
+ [ 'node_shared_libuv=="false"', {
|
|
+ 'dependencies': [ '../uv/uv.gyp:libuv' ],
|
|
+ }],
|
|
+ [ 'node_shared_libuv=="true"', {
|
|
+ 'libraries': [ '-luv' ],
|
|
+ }]
|
|
],
|
|
}
|
|
]
|