mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-09 08:33:51 +02:00
python-gobject2: update cross fix
This commit is contained in:
parent
25855ae176
commit
1e7c6779be
1 changed files with 1 additions and 2 deletions
|
@ -20,8 +20,7 @@ checksum=bb9d25a3442ca7511385a7c01b057492095c263784ef31231ffe589d83a96a5a
|
||||||
pre_configure() {
|
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.
|
sed -i "s,\(PYTHON_INCLUDES\)=.*,\1=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure
|
||||||
sed -e "s,^PYTHON_CONFIG=.*,PYTHON_CONFIG=${XBPS_WRAPPERDIR}/python-config,g" -i configure
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue