We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c0e1d71 + 7b24a37 commit ccd163dCopy full SHA for ccd163d
pythonforandroid/recipes/Pillow/__init__.py
@@ -34,6 +34,9 @@ class PillowRecipe(PyProjectRecipe):
34
def get_recipe_env(self, arch, **kwargs):
35
env = super().get_recipe_env(arch, **kwargs)
36
37
+ # Add math library linkage
38
+ env["LDFLAGS"] = env.get("LDFLAGS", "") + " -lm"
39
+
40
jpeg = self.get_recipe('jpeg', self.ctx)
41
jpeg_inc_dir = jpeg_lib_dir = jpeg.get_build_dir(arch.arch)
42
env["JPEG_ROOT"] = "{}:{}".format(jpeg_lib_dir, jpeg_inc_dir)
0 commit comments