File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
pythonforandroid/recipes/kivy Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 66
77
88class KivyRecipe (CythonRecipe ):
9- # version = 'stable'
10- # version = 'master'
11- version = '1.9.1'
9+ version = 'master'
1210 url = 'https://github.com/kivy/kivy/archive/{version}.zip'
1311 name = 'kivy'
1412
@@ -46,9 +44,10 @@ def get_recipe_env(self, arch):
4644 # Set include dir for pxi files - Kivy normally handles this
4745 # in the setup.py invocation, but we skip this
4846 build_dir = self .get_build_dir (arch .arch )
49- self .cython_args = ['-I{}' .format (join (build_dir , 'kivy' , 'include' ))]
47+ if exists (join (build_dir , 'kivy' , 'include' )):
48+ self .cython_args = ['-I{}' .format (join (build_dir , 'kivy' , 'include' ))]
5049
51- env ['CFLAGS' ] += ' -I{}' .format (join (build_dir , 'kivy' , 'include' ))
50+ env ['CFLAGS' ] += ' -I{}' .format (join (build_dir , 'kivy' , 'include' ))
5251
5352 return env
5453
You can’t perform that action at this time.
0 commit comments