gnubg: fix cross.
This commit is contained in:
parent
786ed9374c
commit
e77cfdee17
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue