8000 fix library include path · kived/python-for-android@ccd13c4 · GitHub
[go: up one dir, main page]

Skip to content

Commit ccd13c4

Browse files
committed
fix library include path
1 parent 8243160 commit ccd13c4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pythonforandroid/recipe.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -966,7 +966,9 @@ def get_recipe_env(self, arch, with_flags_in_cc=True):
966966
env = super(CythonRecipe, self).get_recipe_env(arch, with_flags_in_cc)
967967
env['LDFLAGS'] = env['LDFLAGS'] + ' -L{} '.format(
968968
self.ctx.get_libs_dir(arch.arch) +
969-
' -L{} '.format(self.ctx.libs_dir))
969+
' -L{} '.format(self.ctx.libs_dir) +
970+
' -L{}'.format(join(self.ctx.bootstrap.build_dir, 'obj', 'local',
971+
arch.arch)))
970972
if self.ctx.python_recipe.from_crystax:
971973
env['LDFLAGS'] = (env['LDFLAGS'] +
972974
' -L{}'.format(join(self.ctx.bootstrap.build_dir, 'libs', arch.arch)))

0 commit comments

Comments
 (0)
0