1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-08 08:23:34 -05:00

remove pthreads

The android libc, bionic, provides built-in support for pthreads, so no
additional linking (-lpthreads) is necessary. It does not implement full
POSIX threads functionality and leaves out support for read/write locks
This commit is contained in:
OPPO9008
2024-05-01 03:59:15 +08:00
committed by GitHub
parent 7897f10c48
commit 8b0e6e9ca3

View File

@@ -179,7 +179,7 @@ else()
)
if (XMRIG_OS_ANDROID)
set(EXTRA_LIBS pthread rt dl log)
set(EXTRA_LIBS rt dl log)
elseif (XMRIG_OS_LINUX)
list(APPEND SOURCES_OS
src/crypto/common/LinuxMemory.h