Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- choice /M "%0 - Make sure you unarchive the openssl-*.tar.gz file in this directory - Continue?"
- echo on
- if errorlevel 2 goto end
- set VCDIR=C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\
- cd openssl*
- call "%VCDIR%\vcvars64.bat"
- echo on
- perl Configure no-shared no-capieng -DOPENSSL_SYS_WIN32 -DOPENSSL_NO_CAPIENG VC-WIN64A --prefix=%CD%
- nmake
- nmake install_sw
- move include/openssl/opensslconf.h ../../include/openssl/opensslconf-msvc-x64.h
- move libssl.lib ../../lib/x64/libssl.lib
- move libcrypto.lib ../../lib/x64/libcrypto.lib
- nmake clean
- cd..
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement