forked from OSchip/llvm-project
[gn build] llvm-lipo, llvm-libtool-darwin symlink targets now dep on binary
This fixes a regression from 69cde915e923d: If llvm_install_cctools_symlinks is false, depending llvm-lipo:symlinks didn't actually depend on llvm-lipo and the binary didn't get built as dependency of `check-lld` (because the `symlinks` array ended up empty).
This commit is contained in:
parent
a4f73b9b14
commit
b0abada8fe
|
@ -12,8 +12,9 @@ if (llvm_install_cctools_symlinks) {
|
|||
# //:llvm-libtool-darwin depends on this symlink target, see comment in
|
||||
# //BUILD.gn.
|
||||
group("symlinks") {
|
||||
deps = [ ":llvm-libtool-darwin" ]
|
||||
if (llvm_install_cctools_symlinks) {
|
||||
deps = [ ":libtool" ]
|
||||
deps += [ ":libtool" ]
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -17,8 +17,9 @@ if (llvm_install_cctools_symlinks) {
|
|||
|
||||
# //:llvm-lipo depends on this symlink target, see comment in //BUILD.gn.
|
||||
group("symlinks") {
|
||||
deps = [ ":llvm-lipo" ]
|
||||
if (llvm_install_cctools_symlinks) {
|
||||
deps = [ ":lipo" ]
|
||||
deps += [ ":lipo" ]
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue