From 7c2b5861bed62d4a88ff527344d873bb68dc30ff Mon Sep 17 00:00:00 2001 From: Darshan Sen Date: Tue, 18 Jan 2022 23:34:20 +0530 Subject: [PATCH] build: fix libuv builds for android aarch64 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This syncs up the source list in https://github.com/nodejs/node/blob/b2edcfee46097fe8e0510a455b97d5c6d0cac5ec/deps/uv/uv.gyp#L257-L265 with https://github.com/nodejs/node/blob/b2edcfee46097fe8e0510a455b97d5c6d0cac5ec/deps/uv/CMakeLists.txt#L218-L227. Fixes: https://github.com/nodejs/node/issues/41380 Signed-off-by: Darshan Sen PR-URL: https://github.com/nodejs/node/pull/41555 Reviewed-By: Richard Lau Reviewed-By: Tobias Nießen Reviewed-By: Colin Ihrig Reviewed-By: Luigi Pinca Reviewed-By: Mary Marchini Reviewed-By: Jiawen Geng Reviewed-By: James M Snell --- deps/uv/uv.gyp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/deps/uv/uv.gyp b/deps/uv/uv.gyp index 47de0d7edefe20..093f611fb6f6d8 100644 --- a/deps/uv/uv.gyp +++ b/deps/uv/uv.gyp @@ -254,15 +254,16 @@ }], [ 'OS=="android"', { 'sources': [ + 'src/unix/android-ifaddrs.c', 'src/unix/linux-core.c', 'src/unix/linux-inotify.c', 'src/unix/linux-syscalls.c', - 'src/unix/linux-syscalls.h', - 'src/unix/pthread-fixes.c', - 'src/unix/android-ifaddrs.c', 'src/unix/procfs-exepath.c', + 'src/unix/pthread-fixes.c', + 'src/unix/random-getentropy.c', 'src/unix/random-getrandom.c', 'src/unix/random-sysctl-linux.c', + 'src/unix/epoll.c', ], 'link_settings': { 'libraries': [ '-ldl' ],