summaryrefslogtreecommitdiff
path: root/utils/buildit
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2009-12-01 02:26:01 +0000
committerEric Christopher <echristo@apple.com>2009-12-01 02:26:01 +0000
commitc39d9536f74cc8fd754b23b2f1224eb4763bd662 (patch)
tree603c5e17694da0124a3d7977cdcf6d10b57731e4 /utils/buildit
parentf12a90098aec2f8e496ab67ccbe119e19fbe40c3 (diff)
downloadllvm-c39d9536f74cc8fd754b23b2f1224eb4763bd662.tar.gz
llvm-c39d9536f74cc8fd754b23b2f1224eb4763bd662.tar.bz2
llvm-c39d9536f74cc8fd754b23b2f1224eb4763bd662.tar.xz
Add a soft link so that in an apple style build we can find libLTO.dylib.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90189 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/buildit')
-rwxr-xr-xutils/buildit/build_llvm8
1 files changed, 8 insertions, 0 deletions
diff --git a/utils/buildit/build_llvm b/utils/buildit/build_llvm
index 9168d1a485..4392b27ee1 100755
--- a/utils/buildit/build_llvm
+++ b/utils/buildit/build_llvm
@@ -341,6 +341,14 @@ chgrp -R wheel $DEST_DIR
find $DEST_DIR -name html.tar.gz -exec rm {} \;
################################################################################
+# symlinks so that B&I can find things
+
+cd $DEST_DIR
+mkdir -p ./usr/lib/
+cd usr/lib
+ln -s ../../Developer/usr/lib/libLTO.dylib ./libLTO.dylib
+
+################################################################################
# w00t! Done!
exit 0