Python: fix build by including $ROOT

This commit is contained in:
Lukas Rusak 2016-04-29 00:50:21 -07:00
parent ff6a40d5ef
commit 102d8e51a6

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