1 |
commit: 7963aaf058ccd97431c4852244a8685056235e11 |
2 |
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 24 07:02:51 2021 +0000 |
4 |
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 24 07:23:49 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7963aaf0 |
7 |
|
8 |
dev-libs/libxml2: Fix cross-compilation with USE=python |
9 |
|
10 |
- --with-python option needs to point to the current Python intepreter on CHOST |
11 |
|
12 |
Closes: https://bugs.gentoo.org/582130 |
13 |
Acked-by: Sam James <sam <AT> gentoo.org> |
14 |
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org> |
15 |
|
16 |
dev-libs/libxml2/libxml2-2.9.12-r5.ebuild | 2 +- |
17 |
1 file changed, 1 insertion(+), 1 deletion(-) |
18 |
|
19 |
diff --git a/dev-libs/libxml2/libxml2-2.9.12-r5.ebuild b/dev-libs/libxml2/libxml2-2.9.12-r5.ebuild |
20 |
index 1c305627447..3a0a7be0f20 100644 |
21 |
--- a/dev-libs/libxml2/libxml2-2.9.12-r5.ebuild |
22 |
+++ b/dev-libs/libxml2/libxml2-2.9.12-r5.ebuild |
23 |
@@ -165,7 +165,7 @@ multilib_src_configure() { |
24 |
|
25 |
# Odd build system, also see bug #582130 |
26 |
run_in_build_dir libxml2_configure \ |
27 |
- "--with-python=${EPYTHON}" \ |
28 |
+ "--with-python=${ESYSROOT}/${PYTHON}" |
29 |
"--with-python-install-dir=$(python_get_sitedir)" |
30 |
} |