summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/fuzzer/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/fuzzer/CMakeLists.txt b/test/fuzzer/CMakeLists.txt
index bd3869807..38970749d 100644
--- a/test/fuzzer/CMakeLists.txt
+++ b/test/fuzzer/CMakeLists.txt
@@ -1,6 +1,9 @@
set(LIBFUZZER_TEST_DEPS ${SANITIZER_COMMON_LIT_TEST_DEPS})
if (NOT COMPILER_RT_STANDALONE_BUILD)
list(APPEND LIBFUZZER_TEST_DEPS fuzzer asan ubsan)
+ if(NOT APPLE AND COMPILER_RT_HAS_LLD)
+ list(APPEND LIBFUZZER_TEST_DEPS lld)
+ endif()
endif()
if (APPLE)