pygame: hard code path to python to prevent virtual python issues

This commit is contained in:
Danny Rawlins 2014-01-27 18:51:57 +11:00
parent f561514334
commit c94b3df1a4

View File

@ -16,8 +16,8 @@ build() {
export CFLAGS="$CFLAGS -fno-strict-aliasing"
patch -p1 -i $SRC/pygame-1.9.1-config.patch
python config.py -auto
python setup.py install --prefix=/usr --root $PKG
/usr/bin/python config.py -auto
/usr/bin/python setup.py install --prefix=/usr --root $PKG
chmod a-x $PKG/usr/lib/python*/site-packages/pygame/*.so
find $PKG -name '*.h' -exec chmod 0644 {} \;