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
This commit is contained in:
parent
fcf0b0aaf2
commit
7ffd0f3ed9
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue