aboutsummaryrefslogtreecommitdiffstats
path: root/find-requires.in
diff options
context:
space:
mode:
authorGötz Waschk <waschk@mandriva.org>2007-02-19 14:15:29 +0000
committerGötz Waschk <waschk@mandriva.org>2007-02-19 14:15:29 +0000
commit34616e1d9d75c2d3ab0bd919d2087d59af633171 (patch)
treef7c2220085de6f83f7adf7984b03999c7fdbcd98 /find-requires.in
parentad9ee3970bf164e847b7ccfe7e73526210da4070 (diff)
downloadrpm-setup-34616e1d9d75c2d3ab0bd919d2087d59af633171.tar
rpm-setup-34616e1d9d75c2d3ab0bd919d2087d59af633171.tar.gz
rpm-setup-34616e1d9d75c2d3ab0bd919d2087d59af633171.tar.bz2
rpm-setup-34616e1d9d75c2d3ab0bd919d2087d59af633171.tar.xz
rpm-setup-34616e1d9d75c2d3ab0bd919d2087d59af633171.zip
filter out devel(ld-linux) if using objdump too1.37
Diffstat (limited to 'find-requires.in')
-rwxr-xr-xfind-requires.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/find-requires.in b/find-requires.in
index 1c5a23e..c88af2e 100755
--- a/find-requires.in
+++ b/find-requires.in
@@ -221,7 +221,8 @@ for i in `echo $filelist | tr '[:blank:]' "\n" | egrep "(/usr(/X11R6)?)?/lib(|64
| grep -v "/\(lib\|lib64\)/\(ld\|ld64\|ld-linux.*\)\.so" \
| perl -p -e "s/\s+(\S+)\.so.*/devel(\1$lib64)/g"
else
- objdump -p $i | awk 'BEGIN { START=0; }
+ objdump -p $i | grep -v "\(ld\|ld64\|ld-linux.*\)\.so" \
+ | awk 'BEGIN { START=0; }
/^$/ { START=0; }
/^Dynamic Section:$/ { START=1; }
(START==1) && /NEEDED/ {