termux-packages/packages/nodejs-lts/deps-uv-uv.gyp.patch

29 lines
841 B
Diff

--- ./deps/uv/uv.gyp 2021-09-29 08:14:37.300738421 +0530
+++ ./deps/uv/uv.gyp.mod 2021-09-29 08:15:04.980738410 +0530
@@ -40,7 +40,7 @@
{
'target_name': 'libuv',
'type': '<(uv_library)',
- 'include_dirs': [
+ 'include_dirs+': [
'include',
'src/',
],
@@ -55,7 +55,7 @@
'<@(shared_unix_defines)',
'<@(shared_zos_defines)',
],
- 'include_dirs': [ 'include' ],
+ 'include_dirs+': [ 'include' ],
'conditions': [
['OS == "linux"', {
'defines': [ '_POSIX_C_SOURCE=200112' ],
@@ -253,6 +253,7 @@
}],
[ 'OS=="android"', {
'sources': [
+ 'src/unix/epoll.c',
'src/unix/linux-core.c',
'src/unix/linux-inotify.c',
'src/unix/linux-syscalls.c',