We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b727cfe commit 2918727Copy full SHA for 2918727
compiler-rt/lib/fuzzer/CMakeLists.txt
@@ -191,7 +191,9 @@ else()
191
set(LIBFUZZER_SHARED_LINK_LIBS ${SANITIZER_COMMON_LINK_LIBS})
192
list(APPEND LIBFUZZER_SHARED_LINK_LIBS "-lstdc++")
193
list(APPEND LIBFUZZER_SHARED_LINK_LIBS "-lm")
194
- list(APPEND LIBFUZZER_SHARED_LINK_LIBS "-lpthread")
+ if(NOT ANDROID)
195
+ list(APPEND LIBFUZZER_SHARED_LINK_LIBS "-lpthread")
196
+ endif()
197
198
# If we aren't statically linking libc++ into the fuzzer, we can build the shared object directly
199
add_compiler_rt_runtime(clang_rt.fuzzer_no_main
0 commit comments