File tree Expand file tree Collapse file tree 3 files changed +18
-30
lines changed Expand file tree Collapse file tree 3 files changed +18
-30
lines changed Original file line number Diff line number Diff line change @@ -3,9 +3,25 @@ SET BUILDARCH=%1
3
3
4
4
cd openssl-*
5
5
6
+ SET PATH = %PATH% ;C:\Program Files\NASM
7
+ SET CL = /FS
6
8
if " %BUILDARCH% " == " win32" (
7
- CALL ..\windows\openssl\build_openssl_win32.bat
9
+ CALL " C:\Program Files\Microsoft Visual Studio\2022\Enterprise\BuildTools\Common7\Tools\VsDevCmd.bat" -arch=x86
10
+ CALL " C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x86
11
+
12
+ perl Configure %OPENSSL_BUILD_FLAGS_WINDOWS% VC-WIN32
8
13
) else (
9
- CALL ..\windows\openssl\build_openssl_win64.bat
14
+ CALL " C:\Program Files\Microsoft Visual Studio\2022\Enterprise\BuildTools\Common7\Tools\VsDevCmd.bat" -arch=x64
15
+ CALL " C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
16
+
17
+ perl Configure %OPENSSL_BUILD_FLAGS_WINDOWS% VC-WIN64A
10
18
)
19
+
20
+ jom
11
21
if %errorlevel% neq 0 exit /b %errorlevel%
22
+
23
+ mkdir ..\build
24
+ mkdir ..\build\lib
25
+ move libcrypto.lib ..\build\lib\
26
+ move libssl.lib ..\build\lib\
27
+ move include ..\build\include
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments