summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-03-19 09:53:23 +0100
committerGitHub <noreply@github.com>2018-03-19 09:53:23 +0100
commit4f97d5a7e2388fff1aba40f159d92d030e6d2066 (patch)
treee10708c2e4d8503df1ddbcc3c9170b9df3935c67
parent61e95fc0bb9d52fa2c0dd62fa4110fad0171fcfe (diff)
parent998f1977a8b5bb7db3d2cfe68a42ce3d67619cb2 (diff)
Merge pull request #17603 from PJB3005/18-03-18-fix-mono-build-python3
Fix Mono builds with Python 3.
-rw-r--r--modules/mono/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/config.py b/modules/mono/config.py
index 5591ed25bf..0e21987a0e 100644
--- a/modules/mono/config.py
+++ b/modules/mono/config.py
@@ -161,7 +161,7 @@ def configure(env):
mono_lib_path = ''
mono_so_name = ''
- mono_prefix = subprocess.check_output(["pkg-config", "mono-2", "--variable=prefix"]).strip()
+ mono_prefix = subprocess.check_output(["pkg-config", "mono-2", "--variable=prefix"], encoding="utf8").strip()
tmpenv = Environment()
tmpenv.AppendENVPath('PKG_CONFIG_PATH', os.getenv('PKG_CONFIG_PATH'))