Skip to content

Commit

Permalink
Merge pull request #2553 from xrmx/fixup-jvm-path
Browse files Browse the repository at this point in the history
plugins/jvm: fixup jvm library path detection
  • Loading branch information
xrmx authored Jul 31, 2023
2 parents b3e09ce + 8924b79 commit 31c6c43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/jvm/uwsgiplugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,)]
Expand Down

0 comments on commit 31c6c43

Please sign in to comment.