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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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