mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-27 01:34:24 +03:00
take 1 at libjpeg
This commit is contained in:
parent
1c7f68c1c1
commit
b2a52caad9
|
@ -25,6 +25,12 @@ py -3 unzip.py zlib128.zip %BUILD%
|
||||||
set ZLIB=%BUILD%\zlib-1.2.8
|
set ZLIB=%BUILD%\zlib-1.2.8
|
||||||
copy /Y /B zlib128.zip %INCLIB%
|
copy /Y /B zlib128.zip %INCLIB%
|
||||||
|
|
||||||
|
rem Get libjpeg
|
||||||
|
py -3 fetch.py http://www.ijg.org/files/jpegsr9a.zip
|
||||||
|
py -3 unzip.py jpegsr9a.zip %BUILD%
|
||||||
|
set LIBJPEG=%BUILD%\jpeg-9a
|
||||||
|
copy /Y /B jpegsr9a.zip %INCLIB%
|
||||||
|
|
||||||
rem Get tcl/tk
|
rem Get tcl/tk
|
||||||
py -3 fetch.py http://hivelocity.dl.sourceforge.net/project/tcl/Tcl/8.5.13/tcl8513-src.zip
|
py -3 fetch.py http://hivelocity.dl.sourceforge.net/project/tcl/Tcl/8.5.13/tcl8513-src.zip
|
||||||
py -3 unzip.py tcl8513-src.zip %BUILD%
|
py -3 unzip.py tcl8513-src.zip %BUILD%
|
||||||
|
@ -44,6 +50,17 @@ call "%ProgramFiles%\Microsoft SDKs\Windows\v7.0\Bin\SetEnv.Cmd" /Release /x64 /
|
||||||
set INCLIB=%INCLIB%\msvcr90-x64
|
set INCLIB=%INCLIB%\msvcr90-x64
|
||||||
mkdir %INCLIB%
|
mkdir %INCLIB%
|
||||||
|
|
||||||
|
rem Build libjpeg
|
||||||
|
setlocal
|
||||||
|
cd /D %LIBJPEG%
|
||||||
|
nmake -f makefile.vc setup-vc6
|
||||||
|
nmake -f makefile.vc clean
|
||||||
|
nmake -f makefile.vc all
|
||||||
|
copy /Y /B *.dll %INCLIB%
|
||||||
|
copy /Y /B *.lib %INCLIB%
|
||||||
|
copy /Y /B libjpeg.h %INCLIB%
|
||||||
|
endlocal
|
||||||
|
|
||||||
rem Build zlib
|
rem Build zlib
|
||||||
setlocal
|
setlocal
|
||||||
cd /D %ZLIB%
|
cd /D %ZLIB%
|
||||||
|
|
Loading…
Reference in New Issue
Block a user