Browse Source

Merge pull request #17603 from PJB3005/18-03-18-fix-mono-build-python3

Fix Mono builds with Python 3.
Rémi Verschelde 7 years ago
parent
commit
4f97d5a7e2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      modules/mono/config.py

+ 1 - 1
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'))