Small fix for the 'strip' command. Do a list of .so files.
authorBill Wendling <isanbard@gmail.com>
Mon, 9 Feb 2009 04:01:11 +0000 (04:01 +0000)
committerBill Wendling <isanbard@gmail.com>
Mon, 9 Feb 2009 04:01:11 +0000 (04:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64112 91177308-0d34-0410-b5e6-96231b3b80d8

utils/buildit/build_llvm

index 6ded723dd17bfb524701460151d168f439e8618d..0c0b6f911147ba09c0cbc355a29c664725df1ea0 100755 (executable)
@@ -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