mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-05-03 07:23:41 +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%%
|
cd /D %%WEBP%%
|
||||||
rd /S /Q %%WEBP%%\output\release-static
|
rd /S /Q %%WEBP%%\output\release-static
|
||||||
nmake -f Makefile.vc CFG=release-static RTLIBCFG=static OBJDIR=output all
|
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
|
mkdir %%INCLIB%%\webp
|
||||||
copy /Y /B src\webp\*.h %%INCLIB%%\\webp
|
copy /Y /B src\webp\*.h %%INCLIB%%\\webp
|
||||||
endlocal
|
endlocal
|
||||||
|
|
|
@ -72,14 +72,16 @@ compilers = { (7,64): {
|
||||||
'vc_version':'2008',
|
'vc_version':'2008',
|
||||||
'env_flags': '/x64 /xp',
|
'env_flags': '/x64 /xp',
|
||||||
'inc_dir': 'msvcr90-x64',
|
'inc_dir': 'msvcr90-x64',
|
||||||
'platform': 'x64'
|
'platform': 'x64',
|
||||||
|
'webp_platform': 'x64',
|
||||||
},
|
},
|
||||||
(7,32): {
|
(7,32): {
|
||||||
'env_version':'v7.0',
|
'env_version':'v7.0',
|
||||||
'vc_version':'2008',
|
'vc_version':'2008',
|
||||||
'env_flags': '/x86 /xp',
|
'env_flags': '/x86 /xp',
|
||||||
'inc_dir': 'msvcr90-x32',
|
'inc_dir': 'msvcr90-x32',
|
||||||
'platform': 'Win32'
|
'platform': 'Win32',
|
||||||
|
'webp_platform': 'x86',
|
||||||
},
|
},
|
||||||
|
|
||||||
(7.1,64): {
|
(7.1,64): {
|
||||||
|
@ -88,6 +90,7 @@ compilers = { (7,64): {
|
||||||
'env_flags': '/x64 /vista',
|
'env_flags': '/x64 /vista',
|
||||||
'inc_dir': 'msvcr10-x64',
|
'inc_dir': 'msvcr10-x64',
|
||||||
'platform': 'x64',
|
'platform': 'x64',
|
||||||
|
'webp_platform': 'x64',
|
||||||
},
|
},
|
||||||
(7.1,32): {
|
(7.1,32): {
|
||||||
'env_version':'v7.1',
|
'env_version':'v7.1',
|
||||||
|
@ -95,6 +98,7 @@ compilers = { (7,64): {
|
||||||
'env_flags': '/x86 /vista',
|
'env_flags': '/x86 /vista',
|
||||||
'inc_dir': 'msvcr10-x32',
|
'inc_dir': 'msvcr10-x32',
|
||||||
'platform': 'Win32',
|
'platform': 'Win32',
|
||||||
|
'webp_platform': 'x86',
|
||||||
},
|
},
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user