mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 17:36:18 +03:00
working webp build for both x86 and x64
This commit is contained in:
parent
54d159bd42
commit
a789c58bf3
|
@ -185,7 +185,7 @@ setlocal
|
|||
cd /D %%WEBP%%
|
||||
rd /S /Q %%WEBP%%\output\release-static
|
||||
nmake -f Makefile.vc CFG=release-static RTLIBCFG=static OBJDIR=output all
|
||||
copy /Y /B output\release-static\%(platform)s\lib\* %%INCLIB%%
|
||||
copy /Y /B output\release-static\%(webp_platform)s\lib\* %%INCLIB%%
|
||||
mkdir %%INCLIB%%\webp
|
||||
copy /Y /B src\webp\*.h %%INCLIB%%\\webp
|
||||
endlocal
|
||||
|
|
|
@ -72,14 +72,16 @@ compilers = { (7,64): {
|
|||
'vc_version':'2008',
|
||||
'env_flags': '/x64 /xp',
|
||||
'inc_dir': 'msvcr90-x64',
|
||||
'platform': 'x64'
|
||||
'platform': 'x64',
|
||||
'webp_platform': 'x64',
|
||||
},
|
||||
(7,32): {
|
||||
'env_version':'v7.0',
|
||||
'vc_version':'2008',
|
||||
'env_flags': '/x86 /xp',
|
||||
'inc_dir': 'msvcr90-x32',
|
||||
'platform': 'Win32'
|
||||
'platform': 'Win32',
|
||||
'webp_platform': 'x86',
|
||||
},
|
||||
|
||||
(7.1,64): {
|
||||
|
@ -88,6 +90,7 @@ compilers = { (7,64): {
|
|||
'env_flags': '/x64 /vista',
|
||||
'inc_dir': 'msvcr10-x64',
|
||||
'platform': 'x64',
|
||||
'webp_platform': 'x64',
|
||||
},
|
||||
(7.1,32): {
|
||||
'env_version':'v7.1',
|
||||
|
@ -95,6 +98,7 @@ compilers = { (7,64): {
|
|||
'env_flags': '/x86 /vista',
|
||||
'inc_dir': 'msvcr10-x32',
|
||||
'platform': 'Win32',
|
||||
'webp_platform': 'x86',
|
||||
},
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user