forked from OSchip/llvm-project
[LLDB] Remove standalone build dep on llvm-strip
When building standalone, since llvm-strip is a symlink, it is created using add_custom_command/add_custom_target which cannot be exported, and thus cannot be depended on by lldb. Patch by: Gwen Mittertreiner Differential revision: https://reviews.llvm.org/D68614 llvm-svn: 374229
This commit is contained in:
parent
e7bfce7863
commit
988ad41948
|
@ -58,9 +58,14 @@ add_lldb_test_dependency(
|
|||
llvm-mc
|
||||
llvm-objcopy
|
||||
llvm-readobj
|
||||
llvm-strip
|
||||
)
|
||||
|
||||
# Since llvm-strip is a symlink created by add_custom_target, it
|
||||
# doesn't expose an export target when building standalone.
|
||||
if(NOT LLDB_BUILT_STANDALONE)
|
||||
add_lldb_test_dependency(llvm-strip)
|
||||
endif()
|
||||
|
||||
if(TARGET lld)
|
||||
add_lldb_test_dependency(lld)
|
||||
else()
|
||||
|
|
Loading…
Reference in New Issue