We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1105c5d commit 7c48f12Copy full SHA for 7c48f12
setup.py
@@ -728,6 +728,10 @@ def build_extensions(self):
728
libs.append(feature.tiff)
729
defs.append(("HAVE_LIBTIFF", None))
730
if sys.platform == "win32":
731
+ # This define needs to be defined if-and-only-if it was defined
732
+ # when compiling LibTIFF. LibTIFF doesn't expose it in `tiffconf.h`,
733
+ # so we have to guess; by default it is defined in all Windows builds.
734
+ # See #4237, #5243, #5359 for more information.
735
defs.append(("USE_WIN32_FILEIO", None))
736
if feature.xcb:
737
libs.append(feature.xcb)
0 commit comments