File tree 3 files changed +4
-226
lines changed
3 files changed +4
-226
lines changed Original file line number Diff line number Diff line change @@ -727,9 +727,7 @@ def build_extensions(self):
727
727
if feature .tiff :
728
728
libs .append (feature .tiff )
729
729
defs .append (("HAVE_LIBTIFF" , None ))
730
- # FIXME the following define should be detected automatically
731
- # based on system libtiff, see #4237
732
- if PLATFORM_MINGW :
730
+ if sys .platform == "win32" :
733
731
defs .append (("USE_WIN32_FILEIO" , None ))
734
732
if feature .xcb :
735
733
libs .append (feature .xcb )
Original file line number Diff line number Diff line change @@ -145,9 +145,9 @@ def cmd_msbuild(
145
145
"filename" : "tiff-4.2.0.tar.gz" ,
146
146
"dir" : "tiff-4.2.0" ,
147
147
"build" : [
148
- cmd_copy ( r"{winbuild_dir}\tiff.opt" , "nmake.opt " ),
149
- cmd_nmake ("makefile.vc" , "clean" ),
150
- cmd_nmake ("makefile.vc" , "lib " ),
148
+ cmd_cmake ( "-DBUILD_SHARED_LIBS:BOOL=OFF " ),
149
+ cmd_nmake (target = "clean" ),
150
+ cmd_nmake (target = "tiff " ),
151
151
],
152
152
"headers" : [r"libtiff\tiff*.h" ],
153
153
"libs" : [r"libtiff\*.lib" ],
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments