mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-01-05 02:21:12 +00:00
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:
@@ -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' ],
|
||||
|
||||
Reference in New Issue
Block a user