python-gobject2: unbreak cross: use XBPS_WRAPPERDIR.
This commit is contained in:
parent
0f25a7729f
commit
397157f061
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue