forked from boostorg/beast
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
70 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,8 +27,6 @@ RUN choco install -y python --version 3.8.3 | |
# chocolaty install of openssl 1.1.1 | ||
# RUN choco install -y openssl --x86 --version 1.1.1.700 | ||
# RUN mklink /D "OpenSSL" "Program Files (x86)\\OpenSSL-Win32" | ||
# RUN copy "C:\\OpenSSL\\lib\\libcrypto.lib" "C:\\OpenSSL\\lib\\libeay32.lib" | ||
# RUN copy "C:\\OpenSSL\\lib\\libssl.lib" "C:\\OpenSSL\\lib\\ssleay32.lib" | ||
|
||
# scoop install of openssl 1.0.2u | ||
# RUN powershell -Command scoop install [email protected] -a 32bit -g | ||
|
@@ -37,8 +35,6 @@ RUN choco install -y python --version 3.8.3 | |
# scoop install of openssl 1.1.1g | ||
RUN powershell -Command scoop install [email protected] -a 32bit -g | ||
RUN mklink /D "OpenSSL" "ProgramData\\scoop\\apps\\openssl\\current" | ||
RUN copy "C:\\OpenSSL\\lib\\libcrypto.lib" "C:\\OpenSSL\\lib\\libeay32.lib" | ||
RUN copy "C:\\OpenSSL\\lib\\libssl.lib" "C:\\OpenSSL\\lib\\ssleay32.lib" | ||
|
||
RUN mkdir C:\devel | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 [email protected] -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] |