Commits

Anonymous committed cc22392

enables "multi directory" entries handling (more natural and good in case of separate PREFIXes of SDL libs)

  • Participants
  • Parent commits 1361bb7

Comments (0)

Files changed (1)

     results = []
     if path:
         for libname in searchfor:
-            dllfile = os.path.join(path, pattern % libname)
-            if os.path.exists(dllfile):
-                results.append(dllfile)
+            for subpath in str.split(path, os.pathsep):
+                dllfile = os.path.join(subpath, pattern % libname)
+                if os.path.exists(dllfile):
+                    results.append(dllfile)
     for libname in searchfor:
         dllfile = find_library(libname)
         if dllfile: