autoPatchelfHook: fix bug introduced by #101142

This commit is contained in:
DavHau 2020-12-13 21:19:50 +07:00 committed by Frederik Rietdijk
parent 57e9cb9112
commit 4ac5d22654

View File

@ -129,8 +129,7 @@ autoPatchelfFile() {
# clear the RPATH first.
runPatchelf --remove-rpath "$toPatch"
local missing
missing="$(
local missing="$(
ldd "$toPatch" 2> /dev/null | \
sed -n -e 's/^[\t ]*\([^ ]\+\) => not found.*/\1/p'
)"