From a5bc981e40a00c01ddd9c82015cc987358721c89 Mon Sep 17 00:00:00 2001 From: Nehal J Wani Date: Sat, 24 Nov 2018 20:38:02 -0600 Subject: [PATCH 05/24] Unvendor openssl Co-authored-by: Isuru Fernando --- PCbuild/openssl.props | 14 ++------------ PCbuild/openssl.vcxproj | 32 -------------------------------- PCbuild/python.props | 11 +---------- PCbuild/python.vcxproj | 3 +++ PCbuild/pythonw.vcxproj | 3 +++ 5 files changed, 9 insertions(+), 54 deletions(-) diff --git a/PCbuild/openssl.props b/PCbuild/openssl.props index 5fd708b211e..044cefd95ea 100644 --- a/PCbuild/openssl.props +++ b/PCbuild/openssl.props @@ -2,10 +2,10 @@ - $(opensslIncludeDir);%(AdditionalIncludeDirectories) + $(condaDir)include;%(AdditionalIncludeDirectories) - $(opensslOutDir);%(AdditionalLibraryDirectories) + $(condaDir)lib;%(AdditionalLibraryDirectories) ws2_32.lib;libcrypto.lib;libssl.lib;%(AdditionalDependencies) @@ -21,14 +21,4 @@ <_SSLDLL Include="$(opensslOutDir)\libssl$(_DLLSuffix).dll" /> <_SSLDLL Include="$(opensslOutDir)\libssl$(_DLLSuffix).pdb" /> - - - - - - diff --git a/PCbuild/openssl.vcxproj b/PCbuild/openssl.vcxproj index 7ca750dda8f..17eee400ebb 100644 --- a/PCbuild/openssl.vcxproj +++ b/PCbuild/openssl.vcxproj @@ -60,40 +60,8 @@ - - $(opensslDir)\tmp$(Bitness)dll - $(opensslOutDir) - setlocal -set VCINSTALLDIR=$(VCInstallDir) -if not exist "$(IntDir.TrimEnd('\'))" mkdir "$(IntDir.TrimEnd('\'))" -cd /D "$(IntDir.TrimEnd('\'))" -$(Perl) "$(opensslDir)\configure" $(OpenSSLPlatform) no-asm no-uplink -nmake - - - - - - <_Built Include="$(opensslDir)\LICENSE" /> - <_Built Include="$(IntDir)\libcrypto.lib;$(IntDir)\libcrypto-*.dll;$(IntDir)\libcrypto-*.pdb" /> - <_Built Include="$(IntDir)\libssl.lib;$(IntDir)\libssl-*.dll;$(IntDir)\libssl-*.pdb" /> - <_Include Include="$(opensslDir)\Include\openssl\*.h" /> - <_Include Include="$(IntDir)\include\openssl\*.h" /> - - - - - - - - - - - - - diff --git a/PCbuild/python.props b/PCbuild/python.props index 62f42d0ce9c..0ec0914facd 100644 --- a/PCbuild/python.props +++ b/PCbuild/python.props @@ -61,6 +61,7 @@ $(EXTERNALS_DIR) + $(LIBRARY_PREFIX)\ $([System.IO.Path]::GetFullPath(`$(PySourcePath)externals`)) $(ExternalsDir)\ @@ -68,18 +69,8 @@ - $(ExternalsDir)sqlite-3.50.4.0\ - $(ExternalsDir)bzip2-1.0.8\ - $(ExternalsDir)xz-5.2.5\ - $(ExternalsDir)libffi-3.4.4\ - $(libffiDir)$(ArchName)\ - $(libffiOutDir)include $(ExternalsDir)\mpdecimal-4.0.0\ - $(ExternalsDir)openssl-3.0.18\ - $(ExternalsDir)openssl-bin-3.0.18\$(ArchName)\ - $(opensslOutDir)include $(ExternalsDir)\nasm-2.11.06\ - $(ExternalsDir)\zlib-1.3.1\ diff --git a/PCbuild/python.vcxproj b/PCbuild/python.vcxproj index 4a99ffc677c..b11fb617963 100644 --- a/PCbuild/python.vcxproj +++ b/PCbuild/python.vcxproj @@ -110,6 +110,9 @@ + + _CRT_SECURE_NO_WARNINGS;$(PreprocessorDefinitions) + diff --git a/PCbuild/pythonw.vcxproj b/PCbuild/pythonw.vcxproj index d08c210ef8a..87f71ca59d1 100644 --- a/PCbuild/pythonw.vcxproj +++ b/PCbuild/pythonw.vcxproj @@ -102,6 +102,9 @@ + + _CRT_SECURE_NO_WARNINGS;$(PreprocessorDefinitions) +