From 01583dd1074e0e7566bf363735bc47875d642c03 Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Wed, 13 Sep 2023 16:02:10 +0100 Subject: dev-lang/python: Set --prefix when building host "mini" Python Otherwise flags pointing to the target prefix are added to the sysconfigdata, which can break building the native extensions. Signed-off-by: James Le Cuirot --- dev-lang/python/python-3.10.13.ebuild | 1 + 1 file changed, 1 insertion(+) (limited to 'dev-lang/python/python-3.10.13.ebuild') diff --git a/dev-lang/python/python-3.10.13.ebuild b/dev-lang/python/python-3.10.13.ebuild index e4e3da709eef..67085bcef06b 100644 --- a/dev-lang/python/python-3.10.13.ebuild +++ b/dev-lang/python/python-3.10.13.ebuild @@ -261,6 +261,7 @@ src_configure() { local myeconfargs_cbuild=( "${myeconfargs[@]}" + --prefix="${BROOT}"/usr --libdir="${cbuild_libdir:2}" # Avoid needing to load the right libpython.so. -- cgit v1.2.3