Whamcloud - gitweb
LU-3963 cleanup: C89 and build cleanups
[fs/lustre-release.git] / lnet / utils / genlib.sh
index bad9833..02b22c6 100755 (executable)
@@ -14,7 +14,7 @@ rm -f liblst.so
 ALL_OBJS=
 
 build_obj_list() {
-  _objs=`$AR -t $1/$2`
+       _objs=`$AR -t $1/$2 | grep -v SYMDEF | grep -v SORTED`
   for _lib in $_objs; do
     ALL_OBJS=$ALL_OBJS"$1/$_lib ";
   done;