Skip to content

Commit f1625de

Browse files
committed
use localy build openssl
1 parent 24de957 commit f1625de

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

README.md

+15-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,21 @@ When configuring, the following cmake variables are of interest:
1010
* ZLIB_ROOT - Specifies the root of the ZLIB library installation (the cpack structure or `cmake --build <build> --target install`).
1111
* BOOST_ROOT - Specifies the root of the Boost libraries installation (the result of `b2 install`).
1212
* Boost_NO_BOOST_CMAKE - To disable search for boost-cmake files.
13-
* OPENSSL_ROOT_DIR - Specifies the root of the OpenSSL installation (the result of `nmake install`).
13+
* OPENSSL_ROOT_DIR - Specifies the root of the OpenSSL installation (the result of `nmake install`, see details below).
1414

1515
In order to build, set the above variables (see CMake find_package documentation for more flexible hints) and then run cmake however you want.
1616
A C++17 comformant compiler is required. Outside of that, as long as the dependencies are met and compatible, you can use whatever compiler you want.
17+
18+
## Openssl build from source
19+
* clone https://github.com/openssl
20+
* install perl.
21+
download from http://strawberryperl.com/
22+
* in console check perl and setup VC env
23+
perl --version
24+
"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
25+
* configure to build 64 static lib
26+
perl Configure VC-WIN64A no-asm no-shared --prefix=C:\work\libs\openssl-lib-vvv-x64\
27+
* build and install
28+
nmake
29+
nmake test && nmake install
30+
* make an archive from install path

azure-pipelines.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ pool:
1919

2020
variables:
2121
ZLIB_DIST_NAME: zlib-1.2.11-static-mt
22-
OPENSSL_DIST_NAME: openssl-1.1.1d
22+
OPENSSL_DIST_NAME: openssl-1.1.1c-x64
2323
BOOST_DIST_NAME: boost-vc141-1_70_0-bin
2424
DEPS_DIST_URI: https://s3-us-west-2.amazonaws.com/streamlabs-obs-updater-deps
2525
DEPS_LOCAL_PATH: $(Build.SourcesDirectory)\slobs-updater-deps

0 commit comments

Comments
 (0)