Skip to content

Commit

Permalink
Fix libjli symlink for jdk8
Browse files Browse the repository at this point in the history
(cherry picked from commit 26a455a)
  • Loading branch information
gilles-duboscq committed Aug 16, 2020
1 parent 57e5e78 commit 968c592
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/mx.sdk/mx_sdk_vm_impl.py
Expand Up @@ -460,7 +460,7 @@ def _patch_darwin_jdk():
break
libjli_symlink = {
'source_type': 'link',
'path': '../Home/lib/jli/libjli.dylib'
'path': '../Home/jre/lib/jli/libjli.dylib' if _src_jdk_version == 8 else '../Home/lib/jli/libjli.dylib'
}
_incl_list.append((base_dir + '/Contents/MacOS/libjli.dylib', libjli_symlink))
_excl_list.append(join(_src_jdk_dir, 'Contents', 'MacOS', 'libjli.dylib'))
Expand Down

0 comments on commit 968c592

Please sign in to comment.