Closes: https://bugs.gentoo.org/680824
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Acked-by: Amy Liffey <amynka@gentoo.org>
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
# Set all python variables to load the correct Gentoo paths
mycmakeargs+=(
- # cheap trick: python_setup sets one of them as a symlink
- # to the correct interpreter, and the other to fail-wrapper
- -DPYTHON2_EXECUTABLE=$(type -P python2)
- -DPYTHON3_EXECUTABLE=$(type -P python3)
+ # python_setup alters PATH and sets this as wrapper
+ # to the correct interpreter we are building for
+ -DPYTHON_DEFAULT_EXECUTABLE=python
-DINSTALL_PYTHON_EXAMPLES=$(usex examples)
-DLIBPY_SUFFIX=64
)