python3: rebuild for libxcrypt

This commit is contained in:
oreo639 2023-08-07 23:42:25 -07:00 committed by classabbyamp
parent 437e46a319
commit da818a494e

View file

@ -4,7 +4,7 @@
#
pkgname=python3
version=3.12.1
revision=1
revision=2
build_style="gnu-configure"
configure_args="--enable-shared --enable-ipv6 --enable-optimizations
--enable-loadable-sqlite-extensions --with-computed-gotos
@ -36,6 +36,10 @@ alternatives="
python:python:/usr/bin/python${version%.*}
python:python.1:/usr/share/man/man1/python${version%.*}.1"
if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
makedepends+=" libxcrypt-devel"
fi
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" python3"
configure_args+=" --with-build-python=python${py3_ver}"