From ccd13c427990656eabccaffb8a3761902be10e03 Mon Sep 17 00:00:00 2001 From: Ryan Pessa Date: Thu, 14 Jan 2016 10:01:52 -0600 Subject: [PATCH] fix library include path --- pythonforandroid/recipe.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pythonforandroid/recipe.py b/pythonforandroid/recipe.py index 3c2e4a73f1..7796a42698 100644 --- a/pythonforandroid/recipe.py +++ b/pythonforandroid/recipe.py @@ -966,7 +966,9 @@ def get_recipe_env(self, arch, with_flags_in_cc=True): env = super(CythonRecipe, self).get_recipe_env(arch, with_flags_in_cc) env['LDFLAGS'] = env['LDFLAGS'] + ' -L{} '.format( self.ctx.get_libs_dir(arch.arch) + - ' -L{} '.format(self.ctx.libs_dir)) + ' -L{} '.format(self.ctx.libs_dir) + + ' -L{}'.format(join(self.ctx.bootstrap.build_dir, 'obj', 'local', + arch.arch))) if self.ctx.python_recipe.from_crystax: env['LDFLAGS'] = (env['LDFLAGS'] + ' -L{}'.format(join(self.ctx.bootstrap.build_dir, 'libs', arch.arch)))