Merge pull request #261 from lrusak/python-fix

Python: fix build by including $ROOT
This commit is contained in:
CvH 2016-04-29 09:59:08 +02:00
commit ac8e298b5c

View File

@ -129,7 +129,7 @@ post_makeinstall_target() {
rm -rf $INSTALL/usr/bin/python*-config
cd $INSTALL/usr/lib/python2.7
python -Wi -t -B $PKG_BUILD/Lib/compileall.py -d /usr/lib/python2.7 -f .
python -Wi -t -B $ROOT/$PKG_BUILD/Lib/compileall.py -d /usr/lib/python2.7 -f .
find $INSTALL/usr/lib/python2.7 -name "*.py" -exec rm -f {} \; &>/dev/null
# strip