mirror of
https://github.com/libuv/libuv
synced 2025-03-28 21:13:16 +00:00
build: fix android build, add missing sources
PR-URL: https://github.com/libuv/libuv/pull/2542 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
This commit is contained in:
parent
780c08a63e
commit
717bda8b7e
@ -275,6 +275,8 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Android")
|
||||
src/unix/linux-syscalls.c
|
||||
src/unix/procfs-exepath.c
|
||||
src/unix/pthread-fixes.c
|
||||
src/unix/random-getrandom.c
|
||||
src/unix/random-sysctl-linux.c
|
||||
src/unix/sysinfo-loadavg.c)
|
||||
endif()
|
||||
|
||||
|
@ -387,7 +387,9 @@ endif
|
||||
if ANDROID
|
||||
uvinclude_HEADERS += include/uv/android-ifaddrs.h
|
||||
libuv_la_SOURCES += src/unix/android-ifaddrs.c \
|
||||
src/unix/pthread-fixes.c
|
||||
src/unix/pthread-fixes.c \
|
||||
src/unix/random-getrandom.c \
|
||||
src/unix/random-sysctl-linux.c
|
||||
endif
|
||||
|
||||
if CYGWIN
|
||||
|
Loading…
x
Reference in New Issue
Block a user