mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-13 18:56:17 +03:00
Fix the error reported when libz is not found
This commit is contained in:
parent
ab76e11fe1
commit
ac92468808
2
setup.py
2
setup.py
|
@ -510,7 +510,7 @@ class pil_build_ext(build_ext):
|
||||||
|
|
||||||
for f in feature:
|
for f in feature:
|
||||||
if not getattr(feature, f) and feature.require(f):
|
if not getattr(feature, f) and feature.require(f):
|
||||||
if f in ('jpeg', 'libz'):
|
if f in ('jpeg', 'zlib'):
|
||||||
raise ValueError('%s is required unless explicitly disabled'
|
raise ValueError('%s is required unless explicitly disabled'
|
||||||
' using --disable-%s, aborting' %
|
' using --disable-%s, aborting' %
|
||||||
(f, f))
|
(f, f))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user