mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
Python3: use non sysroot xz
This commit is contained in:
parent
f55cebe219
commit
c53f3c3e86
@ -114,6 +114,13 @@ post_make_target() {
|
||||
sed -e "s,\([\'|\ ]\)/usr/lib,\1${SYSROOT_PREFIX}/usr/lib,g" -i ${PKG_SYSCONFIG_FILE}
|
||||
}
|
||||
|
||||
pre_configure_target() {
|
||||
export PYTHON_MODULES_INCLUDE="${TARGET_INCDIR}"
|
||||
export PYTHON_MODULES_LIB="${TARGET_LIBDIR}"
|
||||
export DISABLED_EXTENSIONS="${PKG_PY_DISABLED_MODULES}"
|
||||
export PKG_CONFIG_PATH="$(get_install_dir xz)/usr/lib/pkgconfig:${PKG_CONFIG_PATH}"
|
||||
}
|
||||
|
||||
post_makeinstall_target() {
|
||||
ln -sf ${PKG_PYTHON_VERSION} ${INSTALL}/usr/bin/python
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user