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.
1 parent e2b87a0 commit 0f4beceCopy full SHA for 0f4bece
setup.py
@@ -1089,7 +1089,11 @@ def debug_build() -> bool:
1089
Extension("PIL._webp", ["src/_webp.c"]),
1090
Extension("PIL._avif", ["src/_avif.c"]),
1091
Extension("PIL._imagingtk", ["src/_imagingtk.c", "src/Tk/tkImaging.c"]),
1092
- Extension("PIL._imagingmath", ["src/_imagingmath.c"]),
+ Extension(
1093
+ "PIL._imagingmath",
1094
+ ["src/_imagingmath.c"],
1095
+ libraries=None if sys.platform == "win32" else ["m"],
1096
+ ),
1097
Extension("PIL._imagingmorph", ["src/_imagingmorph.c"]),
1098
]
1099
0 commit comments