Change lib lto install location.

llvm-svn: 44476
This commit is contained in:
Devang Patel 2007-11-30 23:27:57 +00:00
parent 4431a1b19b
commit 0fceaea8be
1 changed files with 9 additions and 0 deletions

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.