nodejs: Fix uv.gyp to also compile epoll.c

This patch also needs to be sent upstream. The nodejs team has done this
for linux but somehow didn't do it for android
This commit is contained in:
Yaksh Bariya 2021-09-12 08:41:30 +05:30
parent 9057a7a37f
commit 1d929353e3
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581

View File

@ -1,5 +1,5 @@
--- ./deps/uv/uv.gyp 2021-06-03 07:15:30.000000000 +0530
+++ ./deps/uv/uv.gyp.mod 2021-06-18 20:21:23.955642417 +0530
--- ./deps/uv/uv.gyp 2021-09-12 08:37:13.451586303 +0530
+++ ./deps/uv/uv.gyp.mod 2021-09-12 08:37:58.344924108 +0530
@@ -40,7 +40,7 @@
{
'target_name': 'libuv',
@ -18,3 +18,11 @@
'conditions': [
['OS == "linux"', {
'defines': [ '_POSIX_C_SOURCE=200112' ],
@@ -262,6 +262,7 @@
'src/unix/procfs-exepath.c',
'src/unix/random-getrandom.c',
'src/unix/random-sysctl-linux.c',
+ 'src/unix/epoll.c',
],
'link_settings': {
'libraries': [ '-ldl' ],