mirror of
https://github.com/intel/llvm.git
synced 2026-01-19 01:15:50 +08:00
Add missing libraries to unittest link
Summary: Currently, linking of the unittests fails on linux because it is missing a bunch of symbols from libedit, curses, etc. This fixes the build by adding the correct dependencies. Test Plan: Linking works, unit tests run. Reviewers: zturner Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D9244 llvm-svn: 235853
This commit is contained in:
@@ -23,7 +23,7 @@ function(add_lldb_unittest test_name)
|
||||
endif()
|
||||
|
||||
lldb_link_common_libs(${test_name} EXE)
|
||||
target_link_libraries(${test_name} ${CLANG_USED_LIBS})
|
||||
target_link_libraries(${test_name} ${CLANG_USED_LIBS} ${LLDB_SYSTEM_LIBS})
|
||||
llvm_config(${test_name} ${LLVM_LINK_COMPONENTS})
|
||||
endfunction()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user