check-elf-dynamic-objects: OpenSuSE uses DT_RUNPATH, not DT_RPATH
... like Fedora, so check for either. Change-Id: I0e88c8e6e7634e7cc483474bc3f654e666c3bab2
This commit is contained in:
parent
d698e6f73a
commit
bc47854ebd
1 changed files with 1 additions and 1 deletions
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue