Small fix for the 'strip' command. Do a list of .so files.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64112 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bill Wendling 2009-02-09 04:01:11 +00:00
parent 32c1a4c342
commit eaa0ffbc41

View File

@ -176,8 +176,8 @@ echo "#define LLVM_MINOR_VERSION ${RC_ProjectSourceSubversion}" >> $DEST_DIR$DES
if [ "x$LLVM_DEBUG" != "x1" ]; then
# Strip local symbols from llvm libraries.
strip -S $DEST_DIR$DEST_ROOT/lib/*.[oa]
for file in $DEST_DIR$DEST_ROOT/lib/*.so; do
strip -Sx $file
for f in `ls $DEST_DIR$DEST_ROOT/lib/*.so`; do
strip -Sx $f
done
fi