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 acd8b0c commit e1ee8afCopy full SHA for e1ee8af
setup.py
@@ -753,12 +753,12 @@ def build_extensions(self) -> None:
753
if feature.want("tiff"):
754
_dbg("Looking for tiff")
755
if _find_include_file(self, "tiff.h"):
756
- if _find_library_file(self, "tiff"):
757
- feature.set("tiff", "tiff")
758
if sys.platform in ["win32", "darwin"] and _find_library_file(
759
self, "libtiff"
760
):
761
feature.set("tiff", "libtiff")
+ elif _find_library_file(self, "tiff"):
+ feature.set("tiff", "tiff")
762
763
if feature.want("freetype"):
764
_dbg("Looking for freetype")
0 commit comments