See the bug description in #481
This commit is contained in:
Guillaume Gay 2020-03-25 17:43:06 +01:00 committed by GitHub
parent 307659b13c
commit c18ebafba6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -231,7 +231,8 @@ def get_jnius_lib_location(platform):
lib_location = 'jre/lib/{}/server/libjvm.so'.format(cpu)
jre_home = dirname(get_jre_home(platform)).strip('jre')
if jre_home.endswith('jre'):
jre_home = dirname(get_jre_home(platform))[:-3]
full_lib_location = join(jre_home, lib_location)