python-gobject2: unbreak cross: use XBPS_WRAPPERDIR.

This commit is contained in:
Juan RP 2015-01-28 08:15:20 +01:00
parent 0f25a7729f
commit 397157f061
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ pre_configure() {
NOCONFIGURE=1 autoreconf -fi NOCONFIGURE=1 autoreconf -fi
if [ "$CROSS_BUILD" ]; then if [ "$CROSS_BUILD" ]; then
# Fix path to the python-config wrapper. # Fix path to the python-config wrapper.
sed -e "s,^PYTHON_CONFIG=.*,PYTHON_CONFIG=${wrksrc}/.xbps/bin/python-config,g" -i configure sed -e "s,^PYTHON_CONFIG=.*,PYTHON_CONFIG=${XBPS_WRAPPERDIR}/python-config,g" -i configure
fi fi
} }