diff --git a/install.bat b/install.bat
index 933d5bf95dca7c4a672d5ed6b997d9f644b68a10..7aef0dd8557cf354abd8e7ca0c0889b6ea85fcfe 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 0000000000000000000000000000000000000000..25804cea2f7bf21a864f5f1fec7ae7bd69bab00c
--- /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>