From c07a7c6cfa072a4c47296cbec8407abe0def7365 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Fri, 28 Feb 2020 11:47:50 +0100 Subject: [PATCH] build: fix android cmake build, build missing file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Commit f261d04d ("android: enable getentropy on Android >= 28") didn't add random-getentropy.c to the set of files to build on Android. This commit rectifies that. Fixes: https://github.com/libuv/libuv/issues/2702 PR-URL: https://github.com/libuv/libuv/pull/2704 Reviewed-By: Colin Ihrig Reviewed-By: Richard Lau Reviewed-By: Saúl Ibarra Corretgé --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index d9eb4c42..6ace8893 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -162,6 +162,7 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Android") src/unix/linux-syscalls.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/sysinfo-loadavg.c)