Explorar o código

Workaround for missing LIBPANDAEAY.DLL and LIBPANDASSL.DLL on windows

rdb %!s(int64=16) %!d(string=hai) anos
pai
achega
56948b4c28
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      direct/src/plugin_installer/make_installer.py

+ 3 - 1
direct/src/plugin_installer/make_installer.py

@@ -222,13 +222,15 @@ def addDependencies(path, pathname, file, pluginDependencies, dependentFiles):
     # have to be included too.  Also, any Panda-based libraries, or
     # have to be included too.  Also, any Panda-based libraries, or
     # the Python DLL, should be included, in case panda3d.exe wasn't
     # the Python DLL, should be included, in case panda3d.exe wasn't
     # built static.  The Panda-based libraries begin with "lib" and
     # built static.  The Panda-based libraries begin with "lib" and
-    # are all lowercase.
+    # are all lowercase, or start with libpanda/libp3d.
     for dfile in filenames:
     for dfile in filenames:
         dfilelower = dfile.lower()
         dfilelower = dfile.lower()
         if dfilelower not in dependentFiles:
         if dfilelower not in dependentFiles:
             if dfilelower.startswith('msvc') or \
             if dfilelower.startswith('msvc') or \
                dfilelower.startswith('mfc') or \
                dfilelower.startswith('mfc') or \
                (dfile.startswith('lib') and dfile == dfilelower) or \
                (dfile.startswith('lib') and dfile == dfilelower) or \
+               dfilelower.startswith('libpanda') or \
+               dfilelower.startswith('libp3d') or \
                dfilelower.startswith('python'):
                dfilelower.startswith('python'):
                 pathname = None
                 pathname = None
                 for pitem in path:
                 for pitem in path: