summaryrefslogtreecommitdiff
path: root/scripts/xldd.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/xldd.in')
-rwxr-xr-xscripts/xldd.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/xldd.in b/scripts/xldd.in
index 42a738b..c346d66 100755
--- a/scripts/xldd.in
+++ b/scripts/xldd.in
@@ -270,9 +270,9 @@ do_process_file() {
done
do_trace ": end search path"
- for n in $( "${readelf}" -d "${file}" \
- |"${grep}" -E '\(NEEDED\)' \
- |"${sed}" -r -e 's/^.*Shared library:[[:space:]]+\[(.*)\]$/\1/;' \
+ for n in $( "${readelf}" -d "${file}" \
+ |"${grep}" -E '\(NEEDED\)' \
+ |"${sed}" -r -e 's/^.*Shared library:[[:space:]]+\[([^]]+)\].*/\1/;' \
); do
found=0
for m in "${needed_list[@]}"; do