summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolić <jsmolic@gentoo.org>2021-09-24 09:02:51 +0200
committerJakov Smolić <jsmolic@gentoo.org>2021-09-24 09:23:49 +0200
commit7963aaf058ccd97431c4852244a8685056235e11 (patch)
tree9156a0b8f9c33f94189b20265c522eee1d89df51 /dev-libs
parentmedia-sound/ardour: removed obsolete 6.8-r1 (diff)
downloadgentoo-7963aaf058ccd97431c4852244a8685056235e11.tar.gz
gentoo-7963aaf058ccd97431c4852244a8685056235e11.tar.bz2
gentoo-7963aaf058ccd97431c4852244a8685056235e11.zip
dev-libs/libxml2: Fix cross-compilation with USE=python
- --with-python option needs to point to the current Python intepreter on CHOST Closes: https://bugs.gentoo.org/582130 Acked-by: Sam James <sam@gentoo.org> Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/libxml2/libxml2-2.9.12-r5.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev-libs/libxml2/libxml2-2.9.12-r5.ebuild b/dev-libs/libxml2/libxml2-2.9.12-r5.ebuild
index 1c305627447e..3a0a7be0f209 100644
--- a/dev-libs/libxml2/libxml2-2.9.12-r5.ebuild
+++ b/dev-libs/libxml2/libxml2-2.9.12-r5.ebuild
@@ -165,7 +165,7 @@ multilib_src_configure() {
# Odd build system, also see bug #582130
run_in_build_dir libxml2_configure \
- "--with-python=${EPYTHON}" \
+ "--with-python=${ESYSROOT}/${PYTHON}"
"--with-python-install-dir=$(python_get_sitedir)"
}