mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
mod_wsgi: link with python-3.11
This commit is contained in:
parent
9d266da407
commit
5957226cc0
2 changed files with 2 additions and 3 deletions
|
@ -108,7 +108,7 @@
|
||||||
- import sysconfig; \
|
- import sysconfig; \
|
||||||
- stdout.write(sysconfig.get_config_var("LIBS"))'`
|
- stdout.write(sysconfig.get_config_var("LIBS"))'`
|
||||||
-fi
|
-fi
|
||||||
+PYTHONLIBDIR=$($PYTHON-config --ldflags)
|
+LDLIBS1=$($PYTHON-config --ldflags --embed)
|
||||||
|
|
||||||
CFLAGS1=""
|
CFLAGS1=""
|
||||||
for arg in ${CFLAGS}
|
for arg in ${CFLAGS}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'mod_wsgi'
|
# Template file for 'mod_wsgi'
|
||||||
pkgname=mod_wsgi
|
pkgname=mod_wsgi
|
||||||
version=4.9.4
|
version=4.9.4
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="python3 perl automake libtool apache-devel"
|
hostmakedepends="python3 perl automake libtool apache-devel"
|
||||||
makedepends="apache-devel python3-devel apr-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"
|
distfiles="https://github.com/GrahamDumpleton/mod_wsgi/archive/${version}.tar.gz"
|
||||||
checksum=ee926a3fd5675890b908ebc23db1f8f7f03dc3459241abdcf35d46c68e1be29b
|
checksum=ee926a3fd5675890b908ebc23db1f8f7f03dc3459241abdcf35d46c68e1be29b
|
||||||
lib32disabled=yes
|
lib32disabled=yes
|
||||||
LDFLAGS=-lpython3
|
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
|
Loading…
Add table
Reference in a new issue