2013-03-10 06:03:59 +00:00
|
|
|
|
|
|
|
inherit python-dir
|
|
|
|
|
|
|
|
PYTHON="${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN}"
|
2014-12-03 12:40:54 +00:00
|
|
|
# PYTHON_EXECUTABLE is used by cmake
|
|
|
|
PYTHON_EXECUTABLE="${PYTHON}"
|
2013-03-10 06:03:59 +00:00
|
|
|
EXTRANATIVEPATH += "${PYTHON_PN}-native"
|
2016-06-23 19:03:48 +00:00
|
|
|
DEPENDS_append = " ${PYTHON_PN}-native "
|
2016-06-22 12:06:35 +00:00
|
|
|
|
|
|
|
# python-config and other scripts are using distutils modules
|
|
|
|
# which we patch to access these variables
|
|
|
|
export STAGING_INCDIR
|
|
|
|
export STAGING_LIBDIR
|
|
|
|
|
|
|
|
# autoconf macros will use their internal default preference otherwise
|
|
|
|
export PYTHON
|