Skip to content

Commit 52e16db

Browse files
authored
Fix ImportError bug: cannot locate symbol "modf"
1 parent 15dce3c commit 52e16db

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
@@ -91,7 +91,7 @@ def get_recipe_env(self, arch=None, with_flags_in_cc=True):
9191
env['LDFLAGS'] += f' -L{join(webp_install, "lib")}'
9292
env['LDFLAGS'] += f' -L{ndk_lib_dir}'
9393
if cflags not in env['CFLAGS']:
94-
env['CFLAGS'] += cflags
94+
env['CFLAGS'] += cflags + " -lm"
9595
return env
9696

9797

0 commit comments

Comments
 (0)