From 7ffd0f3ed97db74e51ce7e1b458951eff33cb058 Mon Sep 17 00:00:00 2001 From: John Mark Diaz Date: Mon, 25 Aug 2014 17:35:45 +0800 Subject: [PATCH] fix for pathing issue when android.p4a_dir is defined (not using the default one downloaded by buildozer) and entries in android.library_references use relative paths from source.dir --- buildozer/targets/android.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildozer/targets/android.py b/buildozer/targets/android.py index 0c8e3b6..2d8b89e 100644 --- a/buildozer/targets/android.py +++ b/buildozer/targets/android.py @@ -636,7 +636,7 @@ class TargetAndroid(Target): self.buildozer.error('Invalid library reference (path not found): {}'.format(cref)) exit(1) # get a relative path from the project file - ref = relpath(ref, dist_dir) + ref = relpath(ref, realpath(dist_dir)) # ensure the reference exists references.append(ref)