We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
LibffiRecipe.get_include_dirs
arch=None
1 parent d07f168 commit 16008f9Copy full SHA for 16008f9
1 file changed
pythonforandroid/recipes/libffi/__init__.py
@@ -35,6 +35,8 @@ def build_arch(self, arch):
35
shprint(sh.make, '-j', str(cpu_count()), 'libffi.la', _env=env)
36
37
def get_include_dirs(self, arch):
38
+ if arch is None:
39
+ arch = self.filtered_archs[0]
40
return [join(self.get_build_dir(arch.arch), 'include')]
41
42
0 commit comments