Browse Source

makepanda: Replace use of deleted GetThirdpartyLibDir function

This caused a build error due to a faulty auto-merge.
rdb 5 years ago
parent
commit
fa04d77b57
1 changed files with 2 additions and 2 deletions
  1. 2 2
      makepanda/makepanda.py

+ 2 - 2
makepanda/makepanda.py

@@ -2843,7 +2843,7 @@ if tp_dir is not None:
             if PkgSkip(pkg):
                 continue
 
-            tp_libdir = GetThirdpartyLibDir(pkg)
+            tp_libdir = os.path.join(tp_dir, pkg.lower(), "lib")
             for lib in glob.glob(os.path.join(tp_libdir, "*.dylib")):
                 dylibs[os.path.basename(lib)] = os.path.basename(os.path.realpath(lib))
 
@@ -2863,7 +2863,7 @@ if tp_dir is not None:
                     CopyAllFiles(GetOutputDir() + "/bin/", tp_pkg + "/bin/" + SDK["PYTHONVERSION"] + "/")
 
         elif GetTarget() == 'darwin':
-            tp_libdir = GetThirdpartyLibDir(pkg)
+            tp_libdir = os.path.join(tp_pkg, "lib")
             tp_libs = glob.glob(os.path.join(tp_libdir, "*.dylib"))
 
             if not PkgSkip("PYTHON"):