[Lldb-commits] [lldb] r240933 - fix lldb-server linking on RHEL 6 (bug #23774)
Pavel Labath
labath at google.com
Mon Jun 29 03:30:07 PDT 2015
Author: labath
Date: Mon Jun 29 05:30:06 2015
New Revision: 240933
URL: http://llvm.org/viewvc/llvm-project?rev=240933&view=rev
Log:
fix lldb-server linking on RHEL 6 (bug #23774)
Patch by: Eugene Zelenko
Modified:
lldb/trunk/tools/lldb-server/CMakeLists.txt
Modified: lldb/trunk/tools/lldb-server/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-server/CMakeLists.txt?rev=240933&r1=240932&r2=240933&view=diff
==============================================================================
--- lldb/trunk/tools/lldb-server/CMakeLists.txt (original)
+++ lldb/trunk/tools/lldb-server/CMakeLists.txt Mon Jun 29 05:30:06 2015
@@ -45,10 +45,12 @@ else()
if (LLVM_COMPILER_IS_GCC_COMPATIBLE AND NOT "${CMAKE_SYSTEM_NAME}" MATCHES "Darwin")
target_link_libraries(lldb-server
-Wl,--start-group ${LLDB_USED_LIBS} -Wl,--end-group)
+ target_link_libraries(lldb-server
+ -Wl,--start-group ${CLANG_USED_LIBS} -Wl,--end-group)
else()
target_link_libraries(lldb-server ${LLDB_USED_LIBS})
+ target_link_libraries(lldb-server ${CLANG_USED_LIBS})
endif()
- target_link_libraries(lldb-server ${CLANG_USED_LIBS})
llvm_config(lldb-server ${LLVM_LINK_COMPONENTS})
target_link_libraries(lldb-server ${LLDB_SYSTEM_LIBS})
More information about the lldb-commits
mailing list