uwsgi/uwsgi_fix_jvm_missing_path.patch
Ralf Ertzinger 36451ce9eb Update to 2.0.22
This updates uwsgi to 2.0.22.

It also adds an (incomplete) patch to support python 3.12, used in
the upcoming Fedora 39.
2023-07-30 09:48:50 +02:00

12 lines
635 B
Diff

diff -uNr a/plugins/jvm/uwsgiplugin.py b/plugins/jvm/uwsgiplugin.py
--- a/plugins/jvm/uwsgiplugin.py 2023-07-28 20:59:42.036749911 +0200
+++ b/plugins/jvm/uwsgiplugin.py 2023-07-28 21:00:11.079400969 +0200
@@ -36,7 +36,7 @@
for jvm in known_jvms:
if os.path.exists(jvm + '/include'):
JVM_INCPATH = ["-I%s/include/" % jvm, "-I%s/include/%s" % (jvm, operating_system)]
- if os.path.exists("%s/jre"):
+ if os.path.exists("%s/jre" % jvm):
JVM_LIBPATH = ["-L%s/jre/lib/%s/server" % (jvm, arch)]
else:
JVM_LIBPATH = ["-L%s/lib/server" % (jvm,)]