diff -Naur Python-3.8.0-orig/setup.py Python-3.8.0/setup.py
--- Python-3.8.0-orig/setup.py	2019-10-22 10:04:50.085546300 +0300
+++ Python-3.8.0/setup.py	2019-10-22 10:04:54.016753200 +0300
@@ -2165,7 +2165,7 @@
         undef_macros = []
         if '--with-system-libmpdec' in sysconfig.get_config_var("CONFIG_ARGS"):
             include_dirs = []
-            libraries = [':libmpdec.so.2']
+            libraries = [':libmpdec.dll.a']
             sources = ['_decimal/_decimal.c']
             depends = ['_decimal/docstrings.h']
         else:
