llvm/lldb-add-pthread-dl-libs.patch
2016-05-19 11:20:33 +00:00

21 lines
553 B
Diff

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)