Skip to content

Commit

Permalink
build-tc.sh: reSet rpaths for all binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
wloot committed Dec 31, 2019
1 parent f0e3ea5 commit e710a52
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions build-tc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,5 @@ for bin in $(find install -type f -exec file {} \; | grep 'ELF .* interpreter' |
# Remove last character from file output (':')
bin="${bin: : -1}"

if ldd "$bin" | grep -q "not found"; then
echo "Setting rpath on $bin"
patchelf --set-rpath '$ORIGIN/../lib' "$bin"
fi
patchelf --set-rpath '$ORIGIN/../lib' "$bin"
done

0 comments on commit e710a52

Please sign in to comment.