From 02ead5cdd95a174ee4bdd6467e445c420a30f289 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 17 Dec 2017 15:20:43 +0000 Subject: More python 3 build fixes. --- wscript | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'wscript') diff --git a/wscript b/wscript index 7477a3d..22ab96c 100644 --- a/wscript +++ b/wscript @@ -119,7 +119,8 @@ def configure(conf): # Find the icu- libraries on the system as we need to link to them when we look for boost locale. locale_libs = ['boost_locale%s' % boost_lib_suffix, 'boost_system%s' % boost_lib_suffix] for pkg in subprocess.check_output(['pkg-config', '--list-all']).splitlines(): - if pkg.startswith(b"icu"): + pkg = pkg.decode('utf-8') + if pkg.startswith("icu"): for lib in subprocess.check_output(['pkg-config', '--libs-only-l', pkg.split()[0]]).split(): name = lib[2:] if not name in locale_libs: -- cgit v1.2.3