summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2017-12-17 14:51:58 +0000
committerCarl Hetherington <cth@carlh.net>2017-12-17 14:51:58 +0000
commite7b5945f03b297bf909d2bd28f1533137cf8f409 (patch)
tree3856c36a64b817c12d95bf30f4dd6b96a2642c74 /wscript
parentf0790b05d3aaff1e2a587db0dcb61d90274bd2c4 (diff)
Try to fix build with python 3.
Diffstat (limited to 'wscript')
-rw-r--r--wscript2
1 files changed, 1 insertions, 1 deletions
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: