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:02:14.974473800 +0300
+++ Python-3.8.0/setup.py	2019-10-22 10:02:33.866107000 +0300
@@ -2030,6 +2030,10 @@
         return True
 
     def configure_ctypes(self, ext):
+        if MS_WINDOWS:
+            ext.libraries.extend(['ole32', 'oleaut32', 'uuid'])
+            ext.export_symbols.extend(['DllGetClassObject PRIVATE',
+                                       'DllCanUnloadNow PRIVATE'])
         if not self.use_system_libffi:
             if MACOS:
                 return self.configure_ctypes_darwin(ext)
