Skip to content

Commit

Permalink
autoPatchelfHook: fix bug introduced by #101142
Browse files Browse the repository at this point in the history
  • Loading branch information
DavHau authored and FRidh committed Dec 25, 2020
1 parent 57e9cb9 commit 4ac5d22
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkgs/build-support/setup-hooks/auto-patchelf.sh
Expand Up @@ -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'
)"
Expand Down

0 comments on commit 4ac5d22

Please sign in to comment.