mirror of
https://git.yoctoproject.org/poky
synced 2026-02-13 04:03:03 +01:00
python3native: set PYTHON_EXECUTABLE for CMake
This ensures cmake uses the correct python binary rather than potentially, the host system one. (From OE-Core rev: afb8d456360d86254ab00f05866c34d947d02749) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
a345ef986a
commit
dbcd6b6e7a
@@ -1,6 +1,8 @@
|
||||
inherit python3-dir
|
||||
|
||||
PYTHON="${STAGING_BINDIR_NATIVE}/python3-native/python3"
|
||||
# PYTHON_EXECUTABLE is used by cmake
|
||||
PYTHON_EXECUTABLE="${PYTHON}"
|
||||
EXTRANATIVEPATH += "python3-native"
|
||||
DEPENDS_append = " python3-native "
|
||||
|
||||
|
||||
Reference in New Issue
Block a user