mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
pycrypto: fix build
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
cb9eee60d9
commit
f84cfccb06
@ -22,10 +22,17 @@
|
|||||||
|
|
||||||
. config/options $1
|
. config/options $1
|
||||||
|
|
||||||
|
PYTHON_LIBDIR="`ls -d $SYSROOT_PREFIX/usr/lib/python*`"
|
||||||
export PYTHONXCPREFIX="$SYSROOT_PREFIX/usr"
|
export PYTHONXCPREFIX="$SYSROOT_PREFIX/usr"
|
||||||
export LDFLAGS="$LDFLAGS -L$SYSROOT_PREFIX/usr/lib -L$SYSROOT_PREFIX/lib"
|
export LDFLAGS="$LDFLAGS -L$SYSROOT_PREFIX/usr/lib -L$SYSROOT_PREFIX/lib"
|
||||||
|
|
||||||
cd $PKG_BUILD
|
cd $PKG_BUILD
|
||||||
|
./configure --host=$TARGET_NAME \
|
||||||
|
--build=$HOST_NAME \
|
||||||
|
--prefix=/usr \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
--without-gmp \
|
||||||
|
--without-mpir
|
||||||
|
|
||||||
python setup.py build --cross-compile
|
python setup.py build --cross-compile
|
||||||
python setup.py install --root=./.install --prefix=/usr
|
python setup.py install --root=./.install --prefix=/usr
|
||||||
|
Loading…
x
Reference in New Issue
Block a user