Python: add hack to break build if build goes wrong

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2013-06-21 16:13:31 +02:00
parent 3d0e9d00da
commit 9dedd64af4

View File

@ -39,6 +39,11 @@ mkdir -p $PYTHON_LIB_DIR/config
mkdir -p $PYTHON_LIB_DIR/lib-dynload
cp $PKG_BUILD/.objdir-target/build/lib*/*.so $PYTHON_LIB_DIR/lib-dynload
# Todo: sometimes Python dont build '_socket.so' for some reasons and continues without failing,
# let it fail in this way, to be sure '_socket.so' will be installed- a rebuild of Python fixes
# the issue in most cases:
cp $PKG_BUILD/.objdir-target/build/lib*/_socket.so $PYTHON_LIB_DIR/lib-dynload
cp -R $PKG_BUILD/.objdir-target/Lib/* $PYTHON_LIB_DIR
# For future 3rd-parties Python modules