26 lines
604 B
Diff
26 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' ],
|
||
|
+ }]
|
||
|
],
|
||
|
}
|
||
|
]
|