Mercurial > hg > graal-jvmci-8
diff mx/mx_graal_makefile.py @ 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 | 555f788b964b |
children | 28debbb6496d |
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