From e7b5945f03b297bf909d2bd28f1533137cf8f409 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 17 Dec 2017 14:51:58 +0000 Subject: Try to fix build with python 3. --- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wscript') diff --git a/wscript b/wscript index ea0f8d5..7477a3d 100644 --- a/wscript +++ b/wscript @@ -119,7 +119,7 @@ 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("icu"): + if pkg.startswith(b"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