Index: lldb-3.8.0.src/cmake/modules/LLDBConfig.cmake =================================================================== --- lldb-3.8.0.src.orig/cmake/modules/LLDBConfig.cmake +++ lldb-3.8.0.src/cmake/modules/LLDBConfig.cmake @@ -323,13 +323,9 @@ else() endif() -if (HAVE_LIBPTHREAD) - list(APPEND system_libs pthread) -endif(HAVE_LIBPTHREAD) +list(APPEND system_libs pthread) -if (HAVE_LIBDL) - list(APPEND system_libs ${CMAKE_DL_LIBS}) -endif() +list(APPEND system_libs ${CMAKE_DL_LIBS}) if(LLDB_REQUIRES_EH) set(LLDB_REQUIRES_RTTI ON)