Commits

illume committed cf53118

the freetype dll was not being copied into the site-packages/pygame dir on windows

  • Participants
  • Parent commits b59e8a5

Comments (0)

Files changed (1)

             the_dlls[e.name[8:]] = e.library_dirs[0]
         else:
             required_dlls.update(dependencies(e.libraries))
-    for lib in required_dlls:
+
+    # join the required_dlls and the_dlls keys together.
+    lib_names = {}
+    for lib in list(required_dlls.keys()) + list(the_dlls.keys()):
+        lib_names[lib] = 1
+
+    for lib in lib_names.keys():
         #next DLL; a distutils bug requires the paths to have Windows separators
         f = the_dlls[lib].replace('/', os.sep)
         if f == '_':