Skip to content

Commit 6ab4bda

Browse files
authored
Merge pull request #2445 from Neizvestnyj/patch-4
Fix ImportError bug: cannot locate symbol "modf"
2 parents 15dce3c + 551d81b commit 6ab4bda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pythonforandroid/recipes/Pillow/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def get_recipe_env(self, arch=None, with_flags_in_cc=True):
8181

8282
# Link the basic Pillow libraries...no need to add webp's libraries
8383
# since it seems that the linkage is properly made without it :)
84-
env['LIBS'] = ' -lpng -lfreetype -lharfbuzz -ljpeg -lturbojpeg'
84+
env['LIBS'] = ' -lpng -lfreetype -lharfbuzz -ljpeg -lturbojpeg -lm'
8585

8686
# Add libraries locations to LDFLAGS
8787
env['LDFLAGS'] += f' -L{png_lib_dir}'

0 commit comments

Comments
 (0)