aboutsummaryrefslogtreecommitdiffstats
path: root/utils/buildit
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2011-02-26 00:22:17 +0000
committerBob Wilson <bob.wilson@apple.com>2011-02-26 00:22:17 +0000
commite1b5aa7d86235bfdb9efa386c006efbd7ce72757 (patch)
tree59d24d7021771be2a5cb10ed6ecca5e35b84e059 /utils/buildit
parent005c51ddc713591a8f461f55f8c844e680a65a90 (diff)
downloadexternal_llvm-e1b5aa7d86235bfdb9efa386c006efbd7ce72757.zip
external_llvm-e1b5aa7d86235bfdb9efa386c006efbd7ce72757.tar.gz
external_llvm-e1b5aa7d86235bfdb9efa386c006efbd7ce72757.tar.bz2
Removed unnecessary dylibs from Apple builds, with or without "lib" prefix.
Radar 9056686 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126534 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/buildit')
-rwxr-xr-xutils/buildit/build_llvm5
1 files changed, 3 insertions, 2 deletions
diff --git a/utils/buildit/build_llvm b/utils/buildit/build_llvm
index 95cd3b7..38b0bfd 100755
--- a/utils/buildit/build_llvm
+++ b/utils/buildit/build_llvm
@@ -267,8 +267,9 @@ fi
# The Hello dylib is an example of how to build a pass.
# The BugpointPasses module is only used to test bugpoint.
# These unversioned dylibs cause verification failures, so do not install them.
-rm $DEST_DIR$DEST_ROOT/lib/libLLVMHello.dylib
-rm $DEST_DIR$DEST_ROOT/lib/libBugpointPasses.dylib
+# (The wildcards are used to match a "lib" prefix if it is present.)
+rm $DEST_DIR$DEST_ROOT/lib/*LLVMHello.dylib
+rm $DEST_DIR$DEST_ROOT/lib/*BugpointPasses.dylib
# Compress manpages
MDIR=$DEST_DIR$DEST_ROOT/share/man/man1