mirror of
https://github.com/asmjit/asmjit.git
synced 2025-12-16 20:17:05 +03:00
[Bug] Do not link to pthread library on Android (there is no such library)
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user