forked from boostorg/beast
simplify openssl on windows
This commit is contained in:
@@ -279,7 +279,24 @@ about Beast and other HTTP libraries that have gone through formal review.
|
||||
for TLS streams. Callers may provide their own overloads of these functions
|
||||
for user-defined next layer types.
|
||||
]]
|
||||
[[
|
||||
Windows and OpenSSL: How do I install and build with OpenSSL on Microsoft Windows?
|
||||
][
|
||||
An easy method is to use command-line package installers chocolatey or scoop. Examples:
|
||||
"choco install -y openssl --x86 --version 1.1.1.700" or
|
||||
"scoop install openssl@1.1.1g -a 32bit -g"
|
||||
|
||||
If you've installed OpenSSL to a directory with spaces in the name, it's often
|
||||
preferable to create a symbolic link so that you may use a simpler path, such as:
|
||||
|
||||
mklink /D "OpenSSL" "Program Files (x86)\\OpenSSL-Win32"
|
||||
|
||||
Set the environment variable OPENSSL_ROOT to the location of the new install:
|
||||
|
||||
set OPENSSL_ROOT=C:/OpenSSL
|
||||
|
||||
Then, proceed to build. Refer to beast/.dockers/windows-vs-32/Dockerfile for an example of building the test cases with OpenSSL.
|
||||
]]
|
||||
]
|
||||
|
||||
[endsect]
|
||||
|
||||
Reference in New Issue
Block a user