diff --git a/srcpkgs/python-gobject2/template b/srcpkgs/python-gobject2/template index 420354e75c6..75172d802e6 100644 --- a/srcpkgs/python-gobject2/template +++ b/srcpkgs/python-gobject2/template @@ -22,7 +22,7 @@ pre_configure() { NOCONFIGURE=1 autoreconf -fi if [ "$CROSS_BUILD" ]; then # 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 }