Mercurial > hg > graal-compiler
changeset 21969:eef888fdb8b1
Use real path (canonicalized) when create relative paths for bootclasspath
author | Stefan Anzinger <stefan.anzinger@oracle.com> |
---|---|
date | Mon, 15 Jun 2015 11:55:38 +0200 |
parents | 3c93acd57197 |
children | 1e0012efac83 |
files | mx/mx_graal_makefile.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mx/mx_graal_makefile.py Thu Jun 11 12:21:15 2015 +0200 +++ b/mx/mx_graal_makefile.py Mon Jun 15 11:55:38 2015 +0200 @@ -155,8 +155,8 @@ def do_build_makefile(mf, selectedDists, commandline): java = mx.java() - bootClassPath = java.bootclasspath() - bootClassPath = bootClassPath.replace(java.jdk, "$(ABS_BOOTDIR)") + bootClassPath = os.path.realpath(java.bootclasspath()) + bootClassPath = bootClassPath.replace(os.path.realpath(java.jdk), "$(ABS_BOOTDIR)") jdkBootClassPathVariableName = "JDK_BOOTCLASSPATH" mf.add_definition("""# This Makefile is generated automatically, do not edit