From 7573ca111c68bd9aa9de47de81fa7950e0f93bc9 Mon Sep 17 00:00:00 2001 From: Stephen Hurd <deuce@synchro.net> Date: Sun, 27 Feb 2022 14:13:27 -0500 Subject: [PATCH] Build static Cryptlib --- install.bat | 1 - patches/cl-static-library.patch | 11 +++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 patches/cl-static-library.patch diff --git a/install.bat b/install.bat index 933d5bf..7aef0dd 100644 --- a/install.bat +++ b/install.bat @@ -1,5 +1,4 @@ copy "%1\cryptlib.h" "%2" copy "%1\binaries32_vs10\cl32.lib" "%2" -copy "%1\binaries32_vs10\cl32.dll" "%2" copy "%1\binaries32_vs10\cl32.pdb" "%2" copy "%1\binaries32_vs10\cl32.exp" "%2" diff --git a/patches/cl-static-library.patch b/patches/cl-static-library.patch new file mode 100644 index 0000000..25804ce --- /dev/null +++ b/patches/cl-static-library.patch @@ -0,0 +1,11 @@ +--- ../orig/crypt32.vcxproj 2019-01-31 03:34:12 -0800 ++++ crypt32.vcxproj 2022-02-27 11:10:25 -0800 +@@ -32,7 +32,7 @@ + </PropertyGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> +- <ConfigurationType>DynamicLibrary</ConfigurationType> ++ <ConfigurationType>StaticLibrary</ConfigurationType> + <UseDebugLibraries>true</UseDebugLibraries> + <CharacterSet>NotSet</CharacterSet> + <PlatformToolset>v140</PlatformToolset> -- GitLab