Revision | 7785 (tree) |
---|---|
Time | 2019-06-21 20:19:25 |
Author | (del#24082) |
OpenSSL 1.1.1をVS2005でビルドできるようにコンパイルオプションを変更した。
チケット #36876
@@ -1,7 +1,11 @@ | ||
1 | -cd openssl-1.1.0 | |
1 | +cd openssl | |
2 | 2 | |
3 | 3 | if exist "out32.dbg\libcrypto.lib" goto build_dbg_end |
4 | -perl Configure no-asm no-async VC-WIN32 --debug | |
4 | + | |
5 | +perl -e "open(IN,'Configurations/10-main.conf');while(<IN>){s|/WX|/W1|;print $_;}close(IN);" > conf.tmp | |
6 | +move conf.tmp Configurations/10-main.conf | |
7 | + | |
8 | +perl Configure no-asm no-async VC-WIN32 -D_WIN32_WINNT=0x0501 --debug | |
5 | 9 | perl -e "open(IN,'makefile');while(<IN>){s| /MDd| /MTd|;print $_;}close(IN);" > makefile.tmp |
6 | 10 | if exist "makefile.dbg" del makefile.dbg |
7 | 11 | ren makefile.tmp makefile.dbg |
@@ -13,7 +17,7 @@ | ||
13 | 17 | :build_dbg_end |
14 | 18 | |
15 | 19 | if exist "out32\libcrypto.lib" goto build_end |
16 | -perl Configure no-asm no-async VC-WIN32 | |
20 | +perl Configure no-asm no-async VC-WIN32 -D_WIN32_WINNT=0x0501 | |
17 | 21 | perl -e "open(IN,'makefile');while(<IN>){s| /MD| /MT|;print $_;}close(IN);" > makefile.tmp |
18 | 22 | if exist "makefile" del makefile |
19 | 23 | ren makefile.tmp makefile |