From 9c3ef1bdbb7be1e5aca002af63ae73a8f7a0ee65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwenol=C3=A9=20Beauchesne?= Date: Mon, 6 Jun 2005 02:23:35 +0000 Subject: - merge from old ppc64 branch: * find-requires: handle ppc64 loaders --- find-requires.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'find-requires.in') diff --git a/find-requires.in b/find-requires.in index ca09eaa..9038276 100755 --- a/find-requires.in +++ b/find-requires.in @@ -179,7 +179,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 "/\(lib\|lib64\)/ld-linux.*\.so" \ + | 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