[PATCH] D85054: Add symlinks for `libtool` and `install_name_tool`

Sameer Arora via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 31 15:27:21 PDT 2020


sameerarora101 created this revision.
sameerarora101 added reviewers: jhenderson, smeenai, alexshap, Ktwu.
Herald added subscribers: llvm-commits, mgorny.
Herald added a reviewer: rupprecht.
Herald added a project: LLVM.
sameerarora101 requested review of this revision.
Herald added a subscriber: MaskRay.

Add symlinks for `llvm-libtool-darwin` and
`llvm-install-name-tool`.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D85054

Files:
  llvm/tools/llvm-libtool-darwin/CMakeLists.txt
  llvm/tools/llvm-objcopy/CMakeLists.txt


Index: llvm/tools/llvm-objcopy/CMakeLists.txt
===================================================================
--- llvm/tools/llvm-objcopy/CMakeLists.txt
+++ llvm/tools/llvm-objcopy/CMakeLists.txt
@@ -50,3 +50,7 @@
   add_llvm_tool_symlink(objcopy llvm-objcopy)
   add_llvm_tool_symlink(strip llvm-objcopy)
 endif()
+
+if(LLVM_INSTALL_CCTOOLS_SYMLINKS)
+  add_llvm_tool_symlink(install_name_tool llvm-install-name-tool)
+endif()
Index: llvm/tools/llvm-libtool-darwin/CMakeLists.txt
===================================================================
--- llvm/tools/llvm-libtool-darwin/CMakeLists.txt
+++ llvm/tools/llvm-libtool-darwin/CMakeLists.txt
@@ -7,3 +7,7 @@
 add_llvm_tool(llvm-libtool-darwin
   llvm-libtool-darwin.cpp
 )
+
+if(LLVM_INSTALL_CCTOOLS_SYMLINKS)
+  add_llvm_tool_symlink(libtool llvm-libtool-darwin)
+endif()


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85054.282334.patch
Type: text/x-patch
Size: 834 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200731/ee9327a6/attachment.bin>


More information about the llvm-commits mailing list