mirror of
https://github.com/libuv/libuv
synced 2025-03-28 21:13:16 +00:00
build: fix android cmake build
Fix two 'multiple definition' symbol errors caused by compiling in sysinfo-memory.c when linux-core.c also provides them (and those are the correct ones.) Bug introduced in commit 3a1be725 ("linux: read free/total memory from /proc/meminfo") released in libuv v1.29.0. It slipped under the radar because there are no Android machines in our CI matrix. Fixes: https://github.com/libuv/libuv/issues/2357 PR-URL: https://github.com/libuv/libuv/pull/2362 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
parent
6b74e7b6bf
commit
c4ff0457b9
@ -260,8 +260,7 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Android")
|
||||
src/unix/linux-syscalls.c
|
||||
src/unix/procfs-exepath.c
|
||||
src/unix/pthread-fixes.c
|
||||
src/unix/sysinfo-loadavg.c
|
||||
src/unix/sysinfo-memory.c)
|
||||
src/unix/sysinfo-loadavg.c)
|
||||
endif()
|
||||
|
||||
if(APPLE OR CMAKE_SYSTEM_NAME MATCHES "Android|Linux|OS/390")
|
||||
|
Loading…
x
Reference in New Issue
Block a user