mirror of https://github.com/procxx/kepka.git
Use non-installed OpenSSL in Windows.
This commit is contained in:
parent
7c2f114330
commit
f46189041c
|
@ -1 +1 @@
|
||||||
Subproject commit a19a0aff644127d8089f6a4ac18119ec5247dbd0
|
Subproject commit 0e92a22746d15157bea46faddd61b79e9964275a
|
|
@ -15,18 +15,18 @@
|
||||||
'configurations': {
|
'configurations': {
|
||||||
'Debug': {
|
'Debug': {
|
||||||
'include_dirs': [
|
'include_dirs': [
|
||||||
'<(libs_loc)/openssl/Debug/include',
|
'<(libs_loc)/openssl/inc32',
|
||||||
],
|
],
|
||||||
'library_dirs': [
|
'library_dirs': [
|
||||||
'<(libs_loc)/openssl/Debug/lib',
|
'<(libs_loc)/openssl/out32.dbg',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
'Release': {
|
'Release': {
|
||||||
'include_dirs': [
|
'include_dirs': [
|
||||||
'<(libs_loc)/openssl/Release/include',
|
'<(libs_loc)/openssl/inc32',
|
||||||
],
|
],
|
||||||
'library_dirs': [
|
'library_dirs': [
|
||||||
'<(libs_loc)/openssl/Release/lib',
|
'<(libs_loc)/openssl/out32',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
@ -112,10 +112,10 @@
|
||||||
'conditions': [
|
'conditions': [
|
||||||
[ 'build_win', {
|
[ 'build_win', {
|
||||||
'include_dirs': [
|
'include_dirs': [
|
||||||
'<(libs_loc)/openssl/Debug/include',
|
'<(libs_loc)/openssl/inc32',
|
||||||
],
|
],
|
||||||
'library_dirs': [
|
'library_dirs': [
|
||||||
'<(libs_loc)/openssl/Debug/lib',
|
'<(libs_loc)/openssl/out32.dbg',
|
||||||
'<(libs_loc)/lzma/C/Util/LzmaLib/Debug',
|
'<(libs_loc)/lzma/C/Util/LzmaLib/Debug',
|
||||||
'<(libs_loc)/zlib/contrib/vstudio/vc14/x86/ZlibStatDebug',
|
'<(libs_loc)/zlib/contrib/vstudio/vc14/x86/ZlibStatDebug',
|
||||||
],
|
],
|
||||||
|
@ -134,10 +134,10 @@
|
||||||
'conditions': [
|
'conditions': [
|
||||||
[ 'build_win', {
|
[ 'build_win', {
|
||||||
'include_dirs': [
|
'include_dirs': [
|
||||||
'<(libs_loc)/openssl/Release/include',
|
'<(libs_loc)/openssl/inc32',
|
||||||
],
|
],
|
||||||
'library_dirs': [
|
'library_dirs': [
|
||||||
'<(libs_loc)/openssl/Release/lib',
|
'<(libs_loc)/openssl/out32',
|
||||||
'<(libs_loc)/lzma/C/Util/LzmaLib/Release',
|
'<(libs_loc)/lzma/C/Util/LzmaLib/Release',
|
||||||
'<(libs_loc)/zlib/contrib/vstudio/vc14/x86/ZlibStatReleaseWithoutAsm',
|
'<(libs_loc)/zlib/contrib/vstudio/vc14/x86/ZlibStatReleaseWithoutAsm',
|
||||||
],
|
],
|
||||||
|
|
|
@ -66,17 +66,12 @@ Open **x86 Native Tools Command Prompt for VS 2019.bat**, go to ***BuildPath***
|
||||||
git clone https://github.com/openssl/openssl.git
|
git clone https://github.com/openssl/openssl.git
|
||||||
cd openssl
|
cd openssl
|
||||||
git checkout OpenSSL_1_0_1-stable
|
git checkout OpenSSL_1_0_1-stable
|
||||||
perl Configure no-shared --prefix=%cd%\Release --openssldir=%cd%\Release VC-WIN32
|
perl Configure no-shared --prefix="C:\Program Files (x86)\OpenSSL" --openssldir="C:\Program Files (x86)\Common Files\SSL" VC-WIN32
|
||||||
ms\do_ms
|
ms\do_ms
|
||||||
nmake -f ms\nt.mak
|
nmake -f ms\nt.mak
|
||||||
nmake -f ms\nt.mak install
|
perl Configure no-shared --prefix="C:\Program Files (x86)\OpenSSL" --openssldir="C:\Program Files (x86)\Common Files\SSL" debug-VC-WIN32
|
||||||
xcopy tmp32\lib.pdb Release\lib\
|
|
||||||
nmake -f ms\nt.mak clean
|
|
||||||
perl Configure no-shared --prefix=%cd%\Debug --openssldir=%cd%\Debug debug-VC-WIN32
|
|
||||||
ms\do_ms
|
ms\do_ms
|
||||||
nmake -f ms\nt.mak
|
nmake -f ms\nt.mak
|
||||||
nmake -f ms\nt.mak install
|
|
||||||
xcopy tmp32.dbg\lib.pdb Debug\lib\
|
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
git clone https://github.com/telegramdesktop/zlib.git
|
git clone https://github.com/telegramdesktop/zlib.git
|
||||||
|
|
Loading…
Reference in New Issue