From: Bob Wilson Date: Sat, 26 Feb 2011 00:22:17 +0000 (+0000) Subject: Removed unnecessary dylibs from Apple builds, with or without "lib" prefix. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=e1b5aa7d86235bfdb9efa386c006efbd7ce72757;p=oota-llvm.git 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 --- diff --git a/utils/buildit/build_llvm b/utils/buildit/build_llvm index 95cd3b707cd..38b0bfd3848 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