[llvm-commits] [llvm-gcc-4.2] r45610 - /llvm-gcc-4.2/trunk/build_gcc
Bill Wendling
isanbard at gmail.com
Fri Jan 4 17:15:43 PST 2008
Author: void
Date: Fri Jan 4 19:15:42 2008
New Revision: 45610
URL: http://llvm.org/viewvc/llvm-project?rev=45610&view=rev
Log:
Run lipo on dylibs too.
Modified:
llvm-gcc-4.2/trunk/build_gcc
Modified: llvm-gcc-4.2/trunk/build_gcc
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/build_gcc?rev=45610&r1=45609&r2=45610&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/build_gcc (original)
+++ llvm-gcc-4.2/trunk/build_gcc Fri Jan 4 19:15:42 2008
@@ -342,7 +342,7 @@
mkdir -p .$DL/$d || exit 1
done
for f in $LIBEXEC_FILES ; do
- if file $DIR/dst-*-$t$DL/$f | grep -q 'Mach-O executable' ; then
+ if file $DIR/dst-*-$t$DL/$f | grep -q -E 'Mach-O (executable|dynamically linked shared library)' ; then
lipo -output .$DL/$f -create $DIR/dst-*-$t$DL/$f || exit 1
else
cp -p $DIR/dst-$BUILD-$t$DL/$f .$DL/$f || exit 1
More information about the llvm-commits
mailing list