8000 Merge pull request #596 from kived/fix-library-path · peterdocter/python-for-android@0e01214 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0e01214

Browse files
committed
Merge pull request kivy#596 from kived/fix-library-path
fix library include path
2 parents 0f589ac + ccd13c4 commit 0e01214

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