mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-12 18:26:17 +03:00
take 1 on libtiff
This commit is contained in:
parent
b5cffa7d47
commit
c9fdded963
|
@ -32,6 +32,12 @@ py -3 unzip.py jpegsr9a.zip %BUILD%
|
|||
set LIBJPEG=%BUILD%\jpeg-9a
|
||||
copy /Y /B jpegsr9a.zip %INCLIB%
|
||||
|
||||
rem get libtiff
|
||||
py -3 fetch.py ftp://ftp.remotesensing.org/pub/libtiff/tiff-4.0.3.zip
|
||||
py -3 unzip.py tiff-4.0.3.zip %BUILD%
|
||||
set TIFF=%BUILD%\tiff-4.0.3
|
||||
copy /Y /B tiff-4.0.3.zip %INCLIB%
|
||||
|
||||
rem Get lcms2
|
||||
py -3 fetch.py http://hivelocity.dl.sourceforge.net/project/lcms/lcms/2.6/lcms2-2.6.zip
|
||||
py -3 unzip.py lcms2-2.6.zip %BUILD%
|
||||
|
@ -81,6 +87,16 @@ copy /Y /B zlib.h %INCLIB%
|
|||
copy /Y /B zconf.h %INCLIB%
|
||||
endlocal
|
||||
|
||||
rem Build libtiff
|
||||
setlocal
|
||||
cd /D %TIFF%
|
||||
nmake -f makefile.vc clean
|
||||
nmake -f makefile.vc
|
||||
copy /Y /B *.dll %INCLIB%
|
||||
copy /Y /B *.lib %INCLIB%
|
||||
copy /Y /B Tiff.h %INCLIB%
|
||||
endlocal
|
||||
|
||||
rem Build freetype
|
||||
setlocal
|
||||
py -3 %~dp0\fixproj.py %FREETYPE%\builds\windows\vc2008\freetype.sln x64
|
||||
|
|
Loading…
Reference in New Issue
Block a user