forked from OSchip/llvm-project
fix lldb-server linking on RHEL 6 (bug #23774)
Patch by: Eugene Zelenko llvm-svn: 240933
This commit is contained in:
parent
3f7c8934e4
commit
17cace6475
|
@ -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})
|
||||
|
|
Loading…
Reference in New Issue