diff options
author | Sam James <sam@gentoo.org> | 2024-12-31 15:39:04 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-12-31 15:40:03 +0000 |
commit | 335b2bb125f1abab97abb55c9ed70cfeeff1eb72 (patch) | |
tree | e59ca0d5d958af4dad5ba16f8ca433965237821a /sys-libs/musl/musl-9999.ebuild | |
parent | dev-vcs/hg-evolve: enable py3.13 (diff) | |
download | gentoo-335b2bb125f1abab97abb55c9ed70cfeeff1eb72.tar.gz gentoo-335b2bb125f1abab97abb55c9ed70cfeeff1eb72.tar.bz2 gentoo-335b2bb125f1abab97abb55c9ed70cfeeff1eb72.zip |
sys-libs/musl: fix -crypt build for cross
See https://forums.gentoo.org/viewtopic-p-8850196.html. We need to
account for ${sysroot} for cross builds.
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-libs/musl/musl-9999.ebuild')
-rw-r--r-- | sys-libs/musl/musl-9999.ebuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-libs/musl/musl-9999.ebuild b/sys-libs/musl/musl-9999.ebuild index 1b451cd191de..278e5e367d77 100644 --- a/sys-libs/musl/musl-9999.ebuild +++ b/sys-libs/musl/musl-9999.ebuild @@ -138,8 +138,8 @@ src_install() { if ! use crypt ; then # Allow sys-libs/libxcrypt[system] to provide it instead - rm "${ED}/usr/include/crypt.h" || die - rm "${ED}/usr/$(get_libdir)/libcrypt.a" || die + rm "${ED}${sysroot}/usr/include/crypt.h" || die + rm "${ED}${sysroot}/usr/$(get_libdir)/libcrypt.a" || die fi if ! is_crosspkg ; then |