mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
dev-lang/rust-bin-1.87.0: fix patchelf for prefix
Fix path to bin-dir. Thanks Moritz Brunner in https://bugs.gentoo.org/955343#c3 Closes: https://bugs.gentoo.org/955343 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
This commit is contained in:
@@ -202,8 +202,9 @@ rust_native_abi_install() {
|
||||
|
||||
if use prefix; then
|
||||
local interpreter=$(patchelf --print-interpreter "${EPREFIX}"/bin/bash)
|
||||
ebegin "Changing interpreter to ${interpreter} for Gentoo prefix at ${ED}/opt/${SLOT}/bin"
|
||||
find "${ED}/opt/${SLOT}/bin" -type f -print0 | \
|
||||
local binpth="${ED}/opt/rust-bin-${SLOT}/bin"
|
||||
ebegin "Changing interpreter to ${interpreter} for Gentoo Prefix at ${binpth}"
|
||||
find "${binpth}" -type f -print0 | \
|
||||
while IFS= read -r -d '' filename; do
|
||||
patchelf_for_bin ${filename} ${interpreter} \; || die
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user