mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-30 22:21:26 +00:00
autoPatchelf: add comment why ignore failing ldd/sed
This commit is contained in:
parent
2fde1e63ba
commit
2efcf6dc26
@ -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 | \
|
||||
|
Loading…
Reference in New Issue
Block a user