Skip to content

Commit

Permalink
dev-python/sip: Fix cross-compiling by passing the --sysroot option
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.49, Repoman-2.3.10
  • Loading branch information
chewi committed Sep 13, 2018
1 parent d63140e commit 6401119
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dev-python/sip/sip-4.19.12.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,10 @@ src_configure() {
local myconf=(
"${PYTHON}"
"${S}"/configure.py
--sysroot="${SYSROOT}/usr"
--bindir="${EPREFIX}/usr/bin"
--destdir="$(python_get_sitedir)"
--incdir="$(python_get_includedir)"
--incdir="$(SYSROOT= python_get_includedir)"
$(usex debug --debug '')
AR="$(tc-getAR) cqs"
CC="$(tc-getCC)"
Expand Down

0 comments on commit 6401119

Please sign in to comment.