mod_wsgi: link with python-3.11

This commit is contained in:
Đoàn Trần Công Danh 2022-11-18 15:10:18 +07:00
parent 9d266da407
commit 5957226cc0
2 changed files with 2 additions and 3 deletions

View File

@ -108,7 +108,7 @@
- import sysconfig; \
- stdout.write(sysconfig.get_config_var("LIBS"))'`
-fi
+PYTHONLIBDIR=$($PYTHON-config --ldflags)
+LDLIBS1=$($PYTHON-config --ldflags --embed)
CFLAGS1=""
for arg in ${CFLAGS}

View File

@ -1,7 +1,7 @@
# Template file for 'mod_wsgi'
pkgname=mod_wsgi
version=4.9.4
revision=1
revision=2
build_style=gnu-configure
hostmakedepends="python3 perl automake libtool apache-devel"
makedepends="apache-devel python3-devel apr-devel"
@ -13,7 +13,6 @@ changelog="https://modwsgi.readthedocs.io/en/latest/release-notes/version-${vers
distfiles="https://github.com/GrahamDumpleton/mod_wsgi/archive/${version}.tar.gz"
checksum=ee926a3fd5675890b908ebc23db1f8f7f03dc3459241abdcf35d46c68e1be29b
lib32disabled=yes
LDFLAGS=-lpython3
pre_configure() {
if [ "$CROSS_BUILD" ]; then