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.
1 parent 55e87e4 commit 6ed7023Copy full SHA for 6ed7023
pythonforandroid/recipes/lxml/__init__.py
@@ -51,10 +51,8 @@ def get_recipe_env(self, arch):
51
env['LIBS'] += ' -lxml2'
52
53
# android's ndk flags
54
- ndk_lib_dir = arch.ndk_lib_dir
55
- ndk_include_dir = self.ndk_include_dir
56
- cflags += ' -I' + ndk_include_dir
57
- env['LDFLAGS'] += ' -L' + ndk_lib_dir
+ cflags += ' -I' + self.ctx.ndk_include_dir
+ env['LDFLAGS'] += ' -L' + arch.ndk_lib_dir
58
env['LIBS'] += ' -lz -lm -lc'
59
60
if cflags not in env['CFLAGS']:
0 commit comments