foxygit / doom Log in
commit 0cdea860dcb7f3f151c896ece8418e38b8b1803f
Author:     Mike Swanson <mikeonthecomputer@gmail.com>
AuthorDate: Mon Jan 23 08:10:34 2017 -0800
Commit:     Mike Swanson <mikeonthecomputer@gmail.com>
CommitDate: Mon Jan 23 08:10:34 2017 -0800

    win32: Make cp-with-libs python3 compatible.
---
 pkg/win32/cp-with-libs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg/win32/cp-with-libs b/pkg/win32/cp-with-libs
index 4aff201e..2649b309 100755
--- a/pkg/win32/cp-with-libs
+++ b/pkg/win32/cp-with-libs
@@ -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: