diff options
author | ewt <devnull@localhost> | 1996-11-25 20:17:57 +0000 |
---|---|---|
committer | ewt <devnull@localhost> | 1996-11-25 20:17:57 +0000 |
commit | 131f695565fd10bb68234a1edabfa1f523d4ac6e (patch) | |
tree | cf9670f610306e1e179297951d723044553986d1 /autodeps/linux.prov | |
parent | 1729d08c2af7066a3d7910d17c60dcf37ff4ed5f (diff) | |
download | librpm-tizen-131f695565fd10bb68234a1edabfa1f523d4ac6e.tar.gz librpm-tizen-131f695565fd10bb68234a1edabfa1f523d4ac6e.tar.bz2 librpm-tizen-131f695565fd10bb68234a1edabfa1f523d4ac6e.zip |
use "objdump -p" rather then hacking it
CVS patchset: 1202
CVS date: 1996/11/25 20:17:57
Diffstat (limited to 'autodeps/linux.prov')
-rw-r--r-- | autodeps/linux.prov | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autodeps/linux.prov b/autodeps/linux.prov index d82091bf0..d59231dce 100644 --- a/autodeps/linux.prov +++ b/autodeps/linux.prov @@ -6,7 +6,7 @@ filelist=$(grep "\\.so" | grep -v "^/lib/ld.so" | xargs file -L 2>/dev/null | grep "ELF.*shared object" | cut -d: -f1) for f in $filelist; do - soname=$(objdump --raw $f --section=.dynstr 2> /dev/null | tr '\0' '\n' | tail -1) + soname=$(objdump -p $f | awk '/SONAME/ {print $2}') if [ "$soname" != "" ]; then if [ "$soname" != "_end" ]; then |