summaryrefslogtreecommitdiff
path: root/dev-lang
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-09-15 11:39:56 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-09-15 11:39:56 +0100
commit42a0481b0335e4cb668fe58ddd2f68b4ad09f3d0 (patch)
treed03018515928dab93d407cf3847309b42a23415b /dev-lang
parent7ef62fb13a69b652966b3df17b599ecc4ae308b9 (diff)
dev-lang/rust : make sure the linker finds rust libs
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/rust/rust-1.46.0-r314.ebuild (renamed from dev-lang/rust/rust-1.46.0-r10.ebuild)5
1 files changed, 5 insertions, 0 deletions
diff --git a/dev-lang/rust/rust-1.46.0-r10.ebuild b/dev-lang/rust/rust-1.46.0-r314.ebuild
index d6c79659..f24d8fc2 100644
--- a/dev-lang/rust/rust-1.46.0-r10.ebuild
+++ b/dev-lang/rust/rust-1.46.0-r314.ebuild
@@ -438,6 +438,11 @@ src_install() {
cp "${ED}/usr/$(get_libdir)/${P}/rustlib/${rust_target}/lib"/*.so \
"${ED}/usr/${abi_libdir}/${P}" || die
done
+
+ newenvd - "50${P}" <<-_EOF_
+ LDPATH="${EPREFIX}/usr/$(get_libdir)/${P}"
+ MANPATH="${EPREFIX}/usr/share/${P}/man"
+ _EOF_
}
pkg_postinst() {