Skip to content

Commit 331e4e4

Browse files
authored
Require c++ stl for Kivy when sdl3 is used (Kivy 3.0.0) (#3181)
1 parent 2ebea90 commit 331e4e4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pythonforandroid/recipes/kivy/__init__.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,13 @@ class KivyRecipe(PyProjectRecipe):
3434
# WARNING: Remove this patch when a new Kivy version is released.
3535
patches = [("sdl-gl-swapwindow-nogil.patch", is_kivy_affected_by_deadlock_issue), "use_cython.patch"]
3636

37+
@property
38+
def need_stl_shared(self):
39+
if "sdl3" in self.ctx.recipe_build_order:
40+
return True
41+
else:
42+
return False
43+
3744
def get_recipe_env(self, arch, **kwargs):
3845
env = super().get_recipe_env(arch, **kwargs)
3946

0 commit comments

Comments
 (0)