gnubg: fix cross.

This commit is contained in:
Leah Neukirchen 2022-08-27 00:26:30 +02:00
parent 786ed9374c
commit e77cfdee17
1 changed files with 2 additions and 2 deletions

View File

@ -14,11 +14,11 @@ license="GPL-3.0-or-later"
homepage="https://www.gnu.org/software/gnubg/"
distfiles="$GNU_SITE/gnubg/$pkgname-release-$version-sources.tar.gz"
checksum=ce1b0b0c1900717cc598032a14cf8c0ee60faf24d84368b39922c0102983bc87
LDLIBS="-lm -lreadline -lpython${pyver}"
LDLIBS="-lm -lreadline -lpython${py3_ver}"
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" ${pkgname}"
CPPFLAGS="-I$XBPS_CROSS_BASE/usr/include/python${pyver}"
export PYTHON_CPPFLAGS="-I$XBPS_CROSS_BASE/usr/include/python${py3_ver}"
fi
case "$XBPS_TARGET_MACHINE" in