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

Fix Mono builds with Python 3.
This commit is contained in:
Rémi Verschelde 2018-03-19 09:53:23 +01:00 committed by GitHub
commit 4f97d5a7e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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'))