diff --git a/bin/check-elf-dynamic-objects b/bin/check-elf-dynamic-objects index 7d444ee8b893..32cff5755c1f 100755 --- a/bin/check-elf-dynamic-objects +++ b/bin/check-elf-dynamic-objects @@ -130,7 +130,7 @@ local file="$1" ;; esac if test "${skip}" = 0 && readelf -d "${file}" &> /dev/null ; then - rpath=$(readelf -d "${file}" | grep '(RPATH)' || true) + rpath=$(readelf -d "${file}" | grep '(\(RPATH\|RUNPATH\))' || true) neededs=$(readelf -d "${file}" | grep '(NEEDED)' | sed -e 's/.*\[\(.*\)\]$/\1/') neededsinternal= for needed in ${neededs}