Mercurial > hg > graal-jvmci-8
comparison 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 |
comparison
equal
deleted
inserted
replaced
21968:3c93acd57197 | 21969:eef888fdb8b1 |
---|---|
153 | 153 |
154 | 154 |
155 | 155 |
156 def do_build_makefile(mf, selectedDists, commandline): | 156 def do_build_makefile(mf, selectedDists, commandline): |
157 java = mx.java() | 157 java = mx.java() |
158 bootClassPath = java.bootclasspath() | 158 bootClassPath = os.path.realpath(java.bootclasspath()) |
159 bootClassPath = bootClassPath.replace(java.jdk, "$(ABS_BOOTDIR)") | 159 bootClassPath = bootClassPath.replace(os.path.realpath(java.jdk), "$(ABS_BOOTDIR)") |
160 jdkBootClassPathVariableName = "JDK_BOOTCLASSPATH" | 160 jdkBootClassPathVariableName = "JDK_BOOTCLASSPATH" |
161 | 161 |
162 mf.add_definition("""# This Makefile is generated automatically, do not edit | 162 mf.add_definition("""# This Makefile is generated automatically, do not edit |
163 | 163 |
164 TARGET=. | 164 TARGET=. |