mirror of
https://github.com/python-pillow/Pillow.git
synced 2026-01-20 15:23:48 +03:00
Link to m from _imagingmath, except on Windows
This commit is contained in:
parent
e2b87a0420
commit
0f4becea73
6
setup.py
6
setup.py
|
|
@ -1089,7 +1089,11 @@ ext_modules = [
|
|||
Extension("PIL._webp", ["src/_webp.c"]),
|
||||
Extension("PIL._avif", ["src/_avif.c"]),
|
||||
Extension("PIL._imagingtk", ["src/_imagingtk.c", "src/Tk/tkImaging.c"]),
|
||||
Extension("PIL._imagingmath", ["src/_imagingmath.c"]),
|
||||
Extension(
|
||||
"PIL._imagingmath",
|
||||
["src/_imagingmath.c"],
|
||||
libraries=None if sys.platform == "win32" else ["m"],
|
||||
),
|
||||
Extension("PIL._imagingmorph", ["src/_imagingmorph.c"]),
|
||||
]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user