[Bug] Do not link to pthread library on Android (there is no such library)

This commit is contained in:
kobalicek 2022-02-20 17:38:27 +01:00
parent 62ffe595a2
commit a4e1e88374

View File

@ -249,7 +249,8 @@ if (ASMJIT_SANITIZE)
endif()
endif()
if (NOT WIN32)
# Do not link to pthread on Android as it's part of C runtime.
if (NOT WIN32 AND NOT ANDROID)
list(APPEND ASMJIT_DEPS pthread)
endif()