mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
Python:
- revert r1809, we need some more work for fixing crosscompiling python
This commit is contained in:
parent
60a32aea21
commit
fd26d83fd1
@ -20,24 +20,22 @@ rm -rf config.cache
|
||||
|
||||
CONFIG_SITE= \
|
||||
OPT="$HOST_CFLAGS" \
|
||||
./configure --prefix=$SYSROOT_PREFIX/usr \
|
||||
--disable-shared \
|
||||
./configure --prefix=$ROOT/$TOOLCHAIN \
|
||||
--without-cxx-main \
|
||||
--with-threads \
|
||||
--enable-unicode=ucs4 \
|
||||
|
||||
OPT="$HOST_CFLAGS" \
|
||||
make python Parser/pgen
|
||||
|
||||
#OPT="$HOST_CFLAGS" \
|
||||
#PYTHON_MODULES_INCLUDE=/usr/include \
|
||||
#PYTHON_MODULES_LIB="/lib /lib64 /usr/lib /usr/lib64" \
|
||||
#make HOSTPYTHON=./python sharedmods install
|
||||
OPT="$HOST_CFLAGS" \
|
||||
PYTHON_MODULES_INCLUDE=/usr/include \
|
||||
PYTHON_MODULES_LIB="/lib /lib64 /usr/lib /usr/lib64" \
|
||||
make HOSTPYTHON=./python sharedmods install
|
||||
|
||||
mv Parser/pgen ./hostpgen
|
||||
cp python ./hostpython
|
||||
|
||||
cp python $ROOT/$TOOLCHAIN/bin
|
||||
|
||||
make distclean
|
||||
|
||||
setup_toolchain target
|
||||
|
Loading…
x
Reference in New Issue
Block a user