diff --git a/compiler-rt/lib/scudo/standalone/CMakeLists.txt b/compiler-rt/lib/scudo/standalone/CMakeLists.txt --- a/compiler-rt/lib/scudo/standalone/CMakeLists.txt +++ b/compiler-rt/lib/scudo/standalone/CMakeLists.txt @@ -135,7 +135,7 @@ endif() -set(SCUDO_LINK_LIBS) +set(SCUDO_LINK_LIBS ${COMPILER_RT_UNWINDER_LINK_LIBS}) append_list_if(COMPILER_RT_HAS_LIBPTHREAD -pthread SCUDO_LINK_FLAGS)