diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2006-03-16 09:36:51 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2006-03-16 09:36:51 +0000 |
commit | 660a89daa80c24a193c333f4c717b61fd1b7c330 (patch) | |
tree | f62e30c8fe17aa46f2a0dc203670a2f73a11c176 /find-requires.in | |
parent | 2c6b87d53f5ba2a033bfef632f058e9c64e370dc (diff) | |
download | rpm-setup-660a89daa80c24a193c333f4c717b61fd1b7c330.tar rpm-setup-660a89daa80c24a193c333f4c717b61fd1b7c330.tar.gz rpm-setup-660a89daa80c24a193c333f4c717b61fd1b7c330.tar.bz2 rpm-setup-660a89daa80c24a193c333f4c717b61fd1b7c330.tar.xz rpm-setup-660a89daa80c24a193c333f4c717b61fd1b7c330.zip |
Avoid the words "statically" and "linked" to appear in some -devel
autogenerated dependencies (bug #8231, patch by Guillaume Rousse)
Diffstat (limited to 'find-requires.in')
-rwxr-xr-x | find-requires.in | 1 |
1 files changed, 1 insertions, 0 deletions
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 |