docs: def fixMissingPythonLib(self, binaries):
          """Add the Python library if missing from the binaries.
  
          Some linux distributions (e.g. debian-based) statically build the
          Python executable to the libpython, so bindepend doesn't include
          it in its output.
  
          Darwin custom builds could possibly also have non-framework style libraries,
          so this method also checks for that variant as well.
          """
  
          if is_aix:
              # Shared libs on AIX are archives with shared object members, thus the ".a" suffix.
              names = ('libpython%d.%d.a' % sys.version_info[:2],) 
          elif is_unix:
              # Other *nix platforms.
              names = ('libpython%d.%d.so' % sys.version_info[:2],)
          elif is_darwin:
              names = ('Python', 'libpython%d.%d.dylib' % sys.version_info[:2])
          else:
              return
  
          for (nm, fnm, typ) in binaries:
              for name in names:
                  if typ == 'BINARY' and name in fnm:
                      # lib found
                      return
  
          # resume search using the first item in names
          name = names[0]
  
          if is_unix:
              lib = bindepend.findLibrary(name)
              if lib is None:
                  raise IOError("Python library not found!")
  
          elif is_darwin:
              # On MacPython, Analysis.assemble is able to find the libpython with
              # no additional help, asking for config['python'] dependencies.
              # However, this fails on system python, because the shared library
              # is not listed as a dependency of the binary (most probably it's
              # opened at runtime using some dlopen trickery).
              lib = os.path.join(sys.exec_prefix, 'Python')
              if not os.path.exists(lib):
                  raise IOError("Python library not found!")
  
          binaries.append((os.path.split(lib)[1], lib, 'BINARY'))