mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
Python3: use cfg-libs option and use --enable-shared to enable building a shared Python library
This commit is contained in:
parent
a247d0919e
commit
9febb950c1
@ -11,6 +11,7 @@ PKG_URL="https://www.python.org/ftp/python/${PKG_VERSION}/${PKG_NAME::-1}-${PKG_
|
||||
PKG_DEPENDS_HOST="zlib:host bzip2:host libffi:host util-linux:host xz:host autoconf-archive:host"
|
||||
PKG_DEPENDS_TARGET="autotools:host gcc:host Python3:host sqlite expat zlib bzip2 xz openssl libffi readline ncurses util-linux"
|
||||
PKG_LONGDESC="Python3 is an interpreted object-oriented programming language."
|
||||
PKG_BUILD_FLAGS="-cfg-libs -cfg-libs:host"
|
||||
PKG_TOOLCHAIN="autotools"
|
||||
|
||||
PKG_PYTHON_VERSION="python3.12"
|
||||
@ -48,6 +49,7 @@ PKG_CONFIGURE_OPTS_HOST="ac_cv_prog_HAS_HG=/bin/false
|
||||
--with-system-ffi
|
||||
--without-pymalloc
|
||||
--with-ensurepip=no
|
||||
--enable-shared
|
||||
"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="ac_cv_prog_HAS_HG=/bin/false
|
||||
@ -94,6 +96,7 @@ PKG_CONFIGURE_OPTS_TARGET="ac_cv_prog_HAS_HG=/bin/false
|
||||
--without-ensurepip
|
||||
--enable-ipv6
|
||||
--with-build-python=${TOOLCHAIN}/bin/python
|
||||
--enable-shared
|
||||
"
|
||||
|
||||
pre_configure_host() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user