File: 1010_support_java_pass_includes.patch

package info (click to toggle)
uwsgi 2.0.28-9
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 6,968 kB
  • sloc: ansic: 86,892; python: 6,620; cpp: 1,131; java: 708; perl: 646; sh: 588; ruby: 555; makefile: 148; xml: 130; cs: 121; objc: 37; php: 28; erlang: 20; javascript: 11
file content (20 lines) | stat: -rw-r--r-- 541 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: Support passing precomposed JVM INCLUDES string
 Needed for OpenJDK 8 requiring arch-specific include (see bug#760301).
Author: Jonas Smedegaard <dr@jones.dk>
Last-Update: 2016-02-13
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/plugins/jvm/uwsgiplugin.py
+++ b/plugins/jvm/uwsgiplugin.py
@@ -53,6 +53,11 @@
     pass
 
 try:
+    JVM_INCPATH = [os.environ['UWSGICONFIG_JVM_INCLUDES']]
+except:
+    pass
+
+try:
     JVM_LIBPATH = ['-L' + os.environ['UWSGICONFIG_JVM_LIBPATH']]
 except:
     pass