aboutsummaryrefslogtreecommitdiff
path: root/misc/android/go_android_exec.go
diff options
context:
space:
mode:
Diffstat (limited to 'misc/android/go_android_exec.go')
-rw-r--r--misc/android/go_android_exec.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/misc/android/go_android_exec.go b/misc/android/go_android_exec.go
index 55461df31a..9a4e2afc80 100644
--- a/misc/android/go_android_exec.go
+++ b/misc/android/go_android_exec.go
@@ -156,6 +156,10 @@ func subdir() (pkgpath string, underGoRoot bool) {
if err != nil {
log.Fatal(err)
}
+ cwd, err = filepath.EvalSymlinks(cwd)
+ if err != nil {
+ log.Fatal(err)
+ }
goroot, err := filepath.EvalSymlinks(runtime.GOROOT())
if err != nil {
log.Fatal(err)