diff options
author | Philipp Hörist <philipp@hoerist.com> | 2018-11-13 22:59:42 +0300 |
---|---|---|
committer | Philipp Hörist <philipp@hoerist.com> | 2018-11-13 22:59:55 +0300 |
commit | 8f6dfad44e482ec0267c14f6f33845d2b0d82fc5 (patch) | |
tree | a3b9a3703b9e7cc418f2d58aef31d25d86ac895a /win/misc | |
parent | 9c5de3bf25cd2183bd70a813da99772f8bcf4ea2 (diff) |
Windows: Get objdump output as string
Otherwise we have to guess the encoding of the host system
Diffstat (limited to 'win/misc')
-rw-r--r-- | win/misc/depcheck.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/misc/depcheck.py b/win/misc/depcheck.py index 693794ae6..1f0057db2 100644 --- a/win/misc/depcheck.py +++ b/win/misc/depcheck.py @@ -47,7 +47,7 @@ SYSTEM_LIBS = ['advapi32.dll', def get_dependencies(filename): deps = [] try: - data = subprocess.check_output(["objdump", "-p", filename]) + data = subprocess.getoutput("objdump -p %s" % filename) except Exception as error: print(error) return deps |