use uppercase name for ios source dirs
This commit is contained in:
parent
c99b1190fe
commit
d20dd4676c
2 changed files with 3 additions and 1 deletions
|
@ -464,6 +464,7 @@ class TargetAndroid(Target):
|
|||
if not exists(dist_dir):
|
||||
need_compile = 1
|
||||
|
||||
# len('requirements.source.') == 20, so use name[20:]
|
||||
source_dirs = {'P4A_{}_DIR'.format(name[20:]):
|
||||
realpath(expanduser(value))
|
||||
for name, value in self.buildozer.config.items('app')
|
||||
|
|
|
@ -128,7 +128,8 @@ class TargetIos(Target):
|
|||
if last_requirements != ios_requirements:
|
||||
need_compile = 1
|
||||
|
||||
source_dirs = {'{}_DIR'.format(name[20:]):
|
||||
# len('requirements.source.') == 20, so use name[20:]
|
||||
source_dirs = {'{}_DIR'.format(name[20:].upper()):
|
||||
realpath(expanduser(value))
|
||||
for name, value in self.buildozer.config.items('app')
|
||||
if name.startswith('requirements.source.')}
|
||||
|
|
Loading…
Reference in a new issue