DLLs should be a valid object to get dependencies for. Here's the traceback on failure:
Traceback (most recent call last):
File "../../../mingw-bundledlls/mingw-bundledlls", line 168, in <module>
main()
File "../../../mingw-bundledlls/mingw-bundledlls", line 143, in main
all_deps = set(gather_deps(args.exe_file, objdump_name, path_prefixes, blacklist, args.skip_missing))
File "../../../mingw-bundledlls/mingw-bundledlls", line 83, in gather_deps
subdeps = gather_deps(dep_path, objdump, path_prefixes, blacklist, skip_missing)
File "../../../mingw-bundledlls/mingw-bundledlls", line 83, in gather_deps
subdeps = gather_deps(dep_path, objdump, path_prefixes, blacklist, skip_missing)
--- SNIP ---
File "../../../mingw-bundledlls/mingw-bundledlls", line 83, in gather_deps
subdeps = gather_deps(dep_path, objdump, path_prefixes, blacklist, skip_missing)
File "../../../mingw-bundledlls/mingw-bundledlls", line 72, in gather_deps
output = str(subprocess.check_output([objdump, "-p", path]), 'utf-8').split("\n")
File "/usr/lib64/python3.4/subprocess.py", line 607, in check_output
with Popen(*popenargs, stdout=PIPE, **kwargs) as process:
File "/usr/lib64/python3.4/subprocess.py", line 858, in __init__
restore_signals, start_new_session)
File "/usr/lib64/python3.4/subprocess.py", line 1341, in _execute_child
if isinstance(args, (str, bytes)):
RuntimeError: maximum recursion depth exceeded while calling a Python object