We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6e6cac commit f47029cCopy full SHA for f47029c
internal/shellgen/tmpl/glibc-patch.bash
@@ -63,6 +63,9 @@ patch() {
63
--add-needed libutil.so.1 \
64
--set-interpreter "$interp" \
65
"$binary"
66
+
67
+ # Neaten the runpath by removing extraneous paths. This will likely remove any old glibc.
68
+ patchelf --shrink-rpath "$binary"
69
chmod "$perm" "$binary"
70
}
71
@@ -73,6 +76,3 @@ echo "patching elf binaries count=$count"
73
76
for binary in $elves; do
74
77
patch "$binary" exe
75
78
done
-
-echo "shrinking binary rpaths"
-echo "$elves" | xargs "$patchelf/bin/patchelf" --shrink-rpath
0 commit comments