win32: Make cp-with-libs python3 compatible.

This commit is contained in:
Mike Swanson 2017-01-23 08:10:34 -08:00
parent 7dc588ee07
commit 0cdea860dc

View file

@ -71,7 +71,7 @@ def file_dependencies(filename, objdump):
try:
result = []
for line in cmd.stdout:
m = DLL_NAME_RE.match(line)
m = DLL_NAME_RE.match(line.decode())
if m:
dll = m.group(1)
if dll.lower() not in WIN32_DLLS: