[llvm] cf26a10 - Add symlinks for `libtool` and `install_name_tool`

Sameer Arora via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 7 13:47:45 PDT 2020


Author: Sameer Arora
Date: 2020-08-07T13:46:36-07:00
New Revision: cf26a10517676b84ac18334a11ae70d15e9df001

URL: https://github.com/llvm/llvm-project/commit/cf26a10517676b84ac18334a11ae70d15e9df001
DIFF: https://github.com/llvm/llvm-project/commit/cf26a10517676b84ac18334a11ae70d15e9df001.diff

LOG: Add symlinks for `libtool` and `install_name_tool`

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

Reviewed by jhenderson, smeenai

Differential Revision: https://reviews.llvm.org/D85054

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/tools/llvm-libtool-darwin/CMakeLists.txt b/llvm/tools/llvm-libtool-darwin/CMakeLists.txt
index c2073990f214..eb83fa1a3ee9 100644
--- a/llvm/tools/llvm-libtool-darwin/CMakeLists.txt
+++ b/llvm/tools/llvm-libtool-darwin/CMakeLists.txt
@@ -7,3 +7,7 @@ set(LLVM_LINK_COMPONENTS
 add_llvm_tool(llvm-libtool-darwin
   llvm-libtool-darwin.cpp
 )
+
+if(LLVM_INSTALL_CCTOOLS_SYMLINKS)
+  add_llvm_tool_symlink(libtool llvm-libtool-darwin)
+endif()

diff  --git a/llvm/tools/llvm-objcopy/CMakeLists.txt b/llvm/tools/llvm-objcopy/CMakeLists.txt
index 6aa5197243dc..49eab05e9c95 100644
--- a/llvm/tools/llvm-objcopy/CMakeLists.txt
+++ b/llvm/tools/llvm-objcopy/CMakeLists.txt
@@ -50,3 +50,7 @@ if(LLVM_INSTALL_BINUTILS_SYMLINKS)
   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()


        


More information about the llvm-commits mailing list