autoPatchelf: add comment why ignore failing ldd/sed

This commit is contained in:
DavHau 2020-12-20 15:24:10 +07:00 committed by Frederik Rietdijk
parent 2fde1e63ba
commit 2efcf6dc26

View File

@ -135,6 +135,8 @@ autoPatchelfFile() {
# clear the RPATH first.
runPatchelf --remove-rpath "$toPatch"
# If the file is not a dynamic executable, ldd/sed will fail,
# in which case we return, since there is nothing left to do.
local missing
missing="$(
ldd "$toPatch" 2> /dev/null | \