summaryrefslogtreecommitdiffstats
path: root/meta/classes/python3native.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/python3native.bbclass')
-rw-r--r--meta/classes/python3native.bbclass24
1 files changed, 0 insertions, 24 deletions
diff --git a/meta/classes/python3native.bbclass b/meta/classes/python3native.bbclass
deleted file mode 100644
index 2e3a88c126..0000000000
--- a/meta/classes/python3native.bbclass
+++ /dev/null
@@ -1,24 +0,0 @@
1inherit python3-dir
2
3PYTHON="${STAGING_BINDIR_NATIVE}/python3-native/python3"
4EXTRANATIVEPATH += "python3-native"
5DEPENDS_append = " python3-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
12# Packages can use
13# find_package(PythonInterp REQUIRED)
14# find_package(PythonLibs REQUIRED)
15# which ends up using libs/includes from build host
16# Therefore pre-empt that effort
17export PYTHON_LIBRARY="${STAGING_LIBDIR}/lib${PYTHON_DIR}${PYTHON_ABI}.so"
18export PYTHON_INCLUDE_DIR="${STAGING_INCDIR}/${PYTHON_DIR}${PYTHON_ABI}"
19
20# suppress host user's site-packages dirs.
21export PYTHONNOUSERSITE = "1"
22
23# autoconf macros will use their internal default preference otherwise
24export PYTHON