python3-tkinter: glibc build requires libxcrypt-devel

This commit is contained in:
Andrew J. Hesford 2024-01-03 16:49:30 -05:00
parent 3e2fff88ed
commit 0503c81268
1 changed files with 4 additions and 0 deletions

View File

@ -30,6 +30,10 @@ license="Python-2.0"
distfiles="https://www.python.org/ftp/python/${version%rc*}/Python-${version}.tar.xz"
checksum=8dfb8f426fcd226657f9e2bd5f1e96e53264965176fa17d32658e873591aeb21
if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
makedepends+=" libxcrypt-devel"
fi
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" python3"
configure_args+=" --with-build-python=python${py3_ver}"