Skip to content

Commit

Permalink
Revert "sys-libs/musl: prefixify build"
Browse files Browse the repository at this point in the history
This reverts commit 0fcf2e3.

More testing is required before we commit to this.
  • Loading branch information
blueness committed Jan 1, 2018
1 parent d0c22f8 commit f8952fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 120 deletions.
118 changes: 0 additions & 118 deletions sys-libs/musl/musl-1.1.18-r1.ebuild

This file was deleted.

4 changes: 2 additions & 2 deletions sys-libs/musl/musl-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ src_configure() {
just_headers && export CC=true

local sysroot
is_crosscompile && sysroot="${EPREFIX}"/usr/${CTARGET}
is_crosscompile && sysroot=/usr/${CTARGET}
./configure \
--target=${CTARGET} \
--prefix=${sysroot}/usr \
Expand Down Expand Up @@ -88,7 +88,7 @@ src_install() {
# musl provides ldd via a sym link to its ld.so
local sysroot
is_crosscompile && sysroot=/usr/${CTARGET}
local ldso=$(basename "${ED}"${sysroot}/lib/ld-musl-*)
local ldso=$(basename "${D}"${sysroot}/lib/ld-musl-*)
dosym ${sysroot}/lib/${ldso} ${sysroot}/usr/bin/ldd

if [[ ${CATEGORY} != cross-* ]] ; then
Expand Down

0 comments on commit f8952fa

Please sign in to comment.