Skip to content

Commit a608f59

Browse files
authored
Merge pull request kivy#3333 from kivy/issue-3329
Fix libpython link
2 parents f52991b + 2206b23 commit a608f59

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pythonforandroid/recipe.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1627,6 +1627,7 @@ def get_recipe_env(self, arch, **kwargs):
16271627
env["RUSTFLAGS"] = "-Clink-args=-L{} -L{}".format(
16281628
self.ctx.get_libs_dir(arch.arch), join(realpython_dir, "android-build")
16291629
)
1630+
env["RUSTFLAGS"] += f" -Clink-arg=-lpython{self.ctx.python_recipe.link_version}"
16301631

16311632
env["PYO3_CROSS_LIB_DIR"] = realpath(glob.glob(join(
16321633
realpython_dir, "android-build", "build",

0 commit comments

Comments
 (0)