diff options
Diffstat (limited to 'meta/classes/python3native.bbclass')
-rw-r--r-- | meta/classes/python3native.bbclass | 24 |
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 @@ | |||
1 | inherit python3-dir | ||
2 | |||
3 | PYTHON="${STAGING_BINDIR_NATIVE}/python3-native/python3" | ||
4 | EXTRANATIVEPATH += "python3-native" | ||
5 | DEPENDS_append = " python3-native " | ||
6 | |||
7 | # python-config and other scripts are using distutils modules | ||
8 | # which we patch to access these variables | ||
9 | export STAGING_INCDIR | ||
10 | export 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 | ||
17 | export PYTHON_LIBRARY="${STAGING_LIBDIR}/lib${PYTHON_DIR}${PYTHON_ABI}.so" | ||
18 | export PYTHON_INCLUDE_DIR="${STAGING_INCDIR}/${PYTHON_DIR}${PYTHON_ABI}" | ||
19 | |||
20 | # suppress host user's site-packages dirs. | ||
21 | export PYTHONNOUSERSITE = "1" | ||
22 | |||
23 | # autoconf macros will use their internal default preference otherwise | ||
24 | export PYTHON | ||