There was an error while loading. Please reload this page.
1 parent 2954964 commit 1b827cbCopy full SHA for 1b827cb
setup.py
@@ -754,12 +754,12 @@ def build_extensions(self) -> None:
754
if feature.want("tiff"):
755
_dbg("Looking for tiff")
756
if _find_include_file(self, "tiff.h"):
757
- if _find_library_file(self, "tiff"):
758
- feature.set("tiff", "tiff")
759
if sys.platform in ["win32", "darwin"] and _find_library_file(
760
self, "libtiff"
761
):
762
feature.set("tiff", "libtiff")
+ elif _find_library_file(self, "tiff"):
+ feature.set("tiff", "tiff")
763
764
if feature.want("freetype"):
765
_dbg("Looking for freetype")
0 commit comments