Fix Mono builds with Python 3.
A subprocess call wasn't specifying an encoding, so this gave a TypeError in Python 3.
This commit is contained in:
parent
760b0567a6
commit
998f1977a8
1 changed files with 1 additions and 1 deletions
|
@ -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'))
|
||||
|
|
Loading…
Reference in a new issue