summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2021-06-12 12:35:43 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2021-06-12 12:39:02 +0100
commit57e4d1f2840ce7048d43f553a1d00caa48abb919 (patch)
tree1fe4b1218d4f77178ca31e0af7e951590fe0db48 /sys-libs
parentvirtual/dist-kernel: Stabilize 5.10.38 x86, #793878 (diff)
downloadgentoo-57e4d1f2840ce7048d43f553a1d00caa48abb919.tar.gz
gentoo-57e4d1f2840ce7048d43f553a1d00caa48abb919.tar.bz2
gentoo-57e4d1f2840ce7048d43f553a1d00caa48abb919.zip
sys-libs/glibc: fix symlink path for ld-lsb for cross-* packages
Closes: https://bugs.gentoo.org/795582 Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/glibc/glibc-2.33-r1.ebuild2
-rw-r--r--sys-libs/glibc/glibc-9999.ebuild2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys-libs/glibc/glibc-2.33-r1.ebuild b/sys-libs/glibc/glibc-2.33-r1.ebuild
index 442157e224fe..2309075d66b3 100644
--- a/sys-libs/glibc/glibc-2.33-r1.ebuild
+++ b/sys-libs/glibc/glibc-2.33-r1.ebuild
@@ -1309,7 +1309,7 @@ glibc_do_src_install() {
has ${lsb_ldso_abi} $(get_install_abis) || continue
if [[ ! -L ${ED}/$(get_abi_LIBDIR ${lsb_ldso_abi})/${lsb_ldso_name} && ! -e ${ED}/$(get_abi_LIBDIR ${lsb_ldso_abi})/${lsb_ldso_name} ]] ; then
- dosym ${native_ldso_name} "/$(get_abi_LIBDIR ${lsb_ldso_abi})/${lsb_ldso_name}"
+ dosym ${native_ldso_name} "$(alt_prefix)/$(get_abi_LIBDIR ${lsb_ldso_abi})/${lsb_ldso_name}"
fi
done
diff --git a/sys-libs/glibc/glibc-9999.ebuild b/sys-libs/glibc/glibc-9999.ebuild
index dff43ad9f2c7..112a714c393e 100644
--- a/sys-libs/glibc/glibc-9999.ebuild
+++ b/sys-libs/glibc/glibc-9999.ebuild
@@ -1309,7 +1309,7 @@ glibc_do_src_install() {
has ${lsb_ldso_abi} $(get_install_abis) || continue
if [[ ! -L ${ED}/$(get_abi_LIBDIR ${lsb_ldso_abi})/${lsb_ldso_name} && ! -e ${ED}/$(get_abi_LIBDIR ${lsb_ldso_abi})/${lsb_ldso_name} ]] ; then
- dosym ${native_ldso_name} "/$(get_abi_LIBDIR ${lsb_ldso_abi})/${lsb_ldso_name}"
+ dosym ${native_ldso_name} "$(alt_prefix)/$(get_abi_LIBDIR ${lsb_ldso_abi})/${lsb_ldso_name}"
fi
done