Change lib lto install location.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44476 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Devang Patel 2007-11-30 23:27:57 +00:00
parent f64903b7d8
commit 0a45fa9348

View File

@ -166,6 +166,15 @@ fi
cd $DEST_DIR$DEST_ROOT
lipo -extract ppc -extract i386 lib/LLVMlto.0.0.0.so -output lib/LLVMlto.0.0.0.so
# LTO is part of developer tools
LTO_HOME=$DEST_DIR//Developer/usr/lib
if [ "x$DEVELOPER_BIN" != "x" ]; then
LTO_HOME=$DEST_DIR/$DEVELOPER_DIR/usr/lib
fi
mkdir -p $LTO_HOME
mv lib/LLVMlto* $LTO_HOME/.
################################################################################
# Create SYM_DIR with information required for debugging.