aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXU Benda <heroxbd@gmail.com>2011-12-22 13:37:11 +0900
committerBenda Xu <heroxbd@gentoo.org>2016-06-25 22:45:04 +0900
commitd370474e3f85a3bbcbb2026ca5ec55257b7a0f39 (patch)
treef3f08abbf1b4d4aab3a9ad9d52b6351751d9eb52 /wrappers/emerge-wrapper
parentconfig.site: add musl libc support (diff)
downloadcrossdev-d370474e3f85a3bbcbb2026ca5ec55257b7a0f39.tar.gz
crossdev-d370474e3f85a3bbcbb2026ca5ec55257b7a0f39.tar.bz2
crossdev-d370474e3f85a3bbcbb2026ca5ec55257b7a0f39.zip
prefixify build system and scripts.
Diffstat (limited to 'wrappers/emerge-wrapper')
-rwxr-xr-xwrappers/emerge-wrapper2
1 files changed, 1 insertions, 1 deletions
diff --git a/wrappers/emerge-wrapper b/wrappers/emerge-wrapper
index e375025..c123259 100755
--- a/wrappers/emerge-wrapper
+++ b/wrappers/emerge-wrapper
@@ -91,7 +91,7 @@ cross_wrap_bin()
cross_wrap()
{
- SYSROOT=/usr/${CHOST}
+ SYSROOT=@GENTOO_PORTAGE_EPREFIX@/usr/${CHOST}
cross_wrap_bin "$@" || return $?
if [[ -d ${SYSROOT} ]] && [[ ! -d ${SYSROOT}/etc ]] ; then
cross_wrap_etc "$@"