Advertisement
Guest User

Untitled

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