Skip to content

Commit ceed049

Browse files
authored
🐛 fixes Kiwisolver build fails
The error was "Python.h not found", closes kivy#3115 Note that the macos-14 build is still failing
1 parent 9b0eed1 commit ceed049

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

pythonforandroid/recipes/kiwisolver/__init__.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,13 @@ class KiwiSolverRecipe(PyProjectRecipe):
88
depends = ['cppy']
99
need_stl_shared = True
1010

11+
# from https://github.com/kivy/python-for-android/issues/3115
12+
def get_recipe_env(self, arch, **kwargs):
13+
env = super().get_recipe_env(arch, **kwargs)
14+
flags = " -I" + self.ctx.python_recipe.include_root(arch.arch)
15+
env["CFLAGS"] = flags
16+
env["CPPFLAGS"] = flags
17+
return env
18+
1119

1220
recipe = KiwiSolverRecipe()

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy