The following commit has been merged in the master branch:
commit 472dded04c76e5d2a33e8619d941c59bf5352f98
Author: Niels Thykier <[email protected]>
Date:   Thu Dec 1 18:47:19 2011 +0100

    Corrected RPATH output when using readelf as objdump fallback
    
    Signed-off-by: Niels Thykier <[email protected]>

diff --git a/collection/objdump-info b/collection/objdump-info
index bfc3bd0..9cbacb9 100755
--- a/collection/objdump-info
+++ b/collection/objdump-info
@@ -152,6 +152,10 @@ while (<FILES>) {
                               and $section eq 'DS') {
                             my ($type, $value) = ($1, $2);
 
+                            if ($type eq 'RPATH') {
+                                $value =~ s/.*\[//;
+                                $value =~ s/\]\s*$//;
+                            }
                             $value =~ s/^(?:Shared library|Library soname): 
\[(.*)\]/$1/;
                             print OUT "  $type   $value\n";
                         } elsif (m/^\s*[0-9A-F]+: \s+ \S+ \s* (?:\(\S+\))? 
(?:\s|\Z)/i

-- 
Debian package checker


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to