Commits

Anthony Tuininga committed 0ced60b

On Solaris, ldd outputs tabs instead of spaces so expand them first before
looking for the separator. Thanks to Eric Brunel for reporting this and
providing the solution.

Comments (0)

Files changed (1)

cx_Freeze/freezer.py

             else:
                 dependentFiles = []
                 for line in os.popen('ldd "%s"' % path):
-                    parts = line.strip().split(" => ")
+                    parts = line.expandtabs().strip().split(" => ")
                     if len(parts) != 2:
                         continue
                     dependentFile = parts[1]