Don't remove libLTO.dylib if it's not being installed in Developer/usr/lib;

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
This commit is contained in:
Bob Wilson 2010-04-29 18:04:29 +00:00
parent 5768ea9ca1
commit 619d03fa04

View File

@ -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