summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2017-12-17 15:20:43 +0000
committerCarl Hetherington <cth@carlh.net>2017-12-17 15:20:43 +0000
commit02ead5cdd95a174ee4bdd6467e445c420a30f289 (patch)
tree90b2e5a6a5413603b694b2e27b0f15151105f6b8 /wscript
parente7b5945f03b297bf909d2bd28f1533137cf8f409 (diff)
More python 3 build fixes.
Diffstat (limited to 'wscript')
-rw-r--r--wscript3
1 files changed, 2 insertions, 1 deletions
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: