blob: 89665efee8b86d60ed571522c3bcfd72062bad46 [file] [log] [blame]
Patrick Williamsc0f7c042017-02-23 20:41:17 -06001inherit python3-dir
Patrick Williamsc124f4f2015-09-15 14:41:29 -05002
3PYTHON="${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN}"
4EXTRANATIVEPATH += "${PYTHON_PN}-native"
Patrick Williamsc0f7c042017-02-23 20:41:17 -06005DEPENDS_append = " ${PYTHON_PN}-native "
6
7# python-config and other scripts are using distutils modules
8# which we patch to access these variables
9export STAGING_INCDIR
10export STAGING_LIBDIR
11
Brad Bishopd7bf8c12018-02-25 22:55:05 -050012# suppress host user's site-packages dirs.
13export PYTHONNOUSERSITE = "1"
14
Patrick Williamsc0f7c042017-02-23 20:41:17 -060015# autoconf macros will use their internal default preference otherwise
16export PYTHON