diff options
| author | James Le Cuirot <chewi@gentoo.org> | 2023-09-13 16:02:10 +0100 |
|---|---|---|
| committer | James Le Cuirot <chewi@gentoo.org> | 2023-09-13 16:03:17 +0100 |
| commit | 01583dd1074e0e7566bf363735bc47875d642c03 (patch) | |
| tree | 283b314658df89ad087c1b7fed293e2aecfedd81 /dev-lang/python/python-3.10.13.ebuild | |
| parent | 59d1f02bcce879c6e565ba605afc4eddd1dce871 (diff) | |
| download | gentoo-01583dd1074e0e7566bf363735bc47875d642c03.tar.gz gentoo-01583dd1074e0e7566bf363735bc47875d642c03.tar.bz2 gentoo-01583dd1074e0e7566bf363735bc47875d642c03.zip | |
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 <chewi@gentoo.org>
Diffstat (limited to 'dev-lang/python/python-3.10.13.ebuild')
| -rw-r--r-- | dev-lang/python/python-3.10.13.ebuild | 1 |
1 files changed, 1 insertions, 0 deletions
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. |
