From 660a89daa80c24a193c333f4c717b61fd1b7c330 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Thu, 16 Mar 2006 09:36:51 +0000 Subject: Avoid the words "statically" and "linked" to appear in some -devel autogenerated dependencies (bug #8231, patch by Guillaume Rousse) --- find-requires.in | 1 + 1 file changed, 1 insertion(+) (limited to 'find-requires.in') diff --git a/find-requires.in b/find-requires.in index 2a9bf65..5e2c766 100755 --- a/find-requires.in +++ b/find-requires.in @@ -199,6 +199,7 @@ for i in `echo $filelist | tr '[:blank:]' "\n" | egrep "(/usr(/X11R6)?)?/lib(|64 lib64=`if file -L $i 2>/dev/null | grep "ELF 64-bit" >/dev/null; then echo "(64bit)"; fi` && \ [ -h ${i} -a -n "${objd}" ] && \ ldd ${i} \ + | grep -v "statically linked" \ | grep -v "/\(lib\|lib64\)/\(ld\|ld64\|ld-linux.*\)\.so" \ | perl -p -e "s/\s+(\S+)\.so.*/devel(\1$lib64)/g" done | egrep -v 'devel\(linux-gate|lib(c|pthread|rt)(\(64bit\))?\)' | sort -u -- cgit v1.2.1