Don't remove libLTO.dylib if it's not being installed in Developer/usr/lib;
authorBob Wilson <bob.wilson@apple.com>
Thu, 29 Apr 2010 18:04:29 +0000 (18:04 +0000)
committerBob Wilson <bob.wilson@apple.com>
Thu, 29 Apr 2010 18:04:29 +0000 (18:04 +0000)
just leave it in Developer/usr/local/lib.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102646 91177308-0d34-0410-b5e6-96231b3b80d8

utils/buildit/build_llvm

index b58e0f02db465a4bca32afe0ba3bee89ec727783..d4556aedacc62a50913f0eb87f5c00317489eb21 100755 (executable)
@@ -284,8 +284,6 @@ if [ "$INSTALL_LIBLTO" == yes ]; then
   mkdir -p $DT_HOME/lib
   mv lib/libLTO.dylib $DT_HOME/lib/libLTO.dylib
   strip -S $DT_HOME/lib/libLTO.dylib
-else
-  rm lib/libLTO.dylib
 fi
 rm -f lib/libLTO.a lib/libLTO.la