diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-12-17 15:20:43 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-12-17 15:20:43 +0000 |
| commit | 02ead5cdd95a174ee4bdd6467e445c420a30f289 (patch) | |
| tree | 90b2e5a6a5413603b694b2e27b0f15151105f6b8 /wscript | |
| parent | e7b5945f03b297bf909d2bd28f1533137cf8f409 (diff) | |
More python 3 build fixes.
Diffstat (limited to 'wscript')
| -rw-r--r-- | wscript | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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: |
