Fix mono build properly!

Fixes the mistake I made in #17603 to make it require Python > 3.6.
This commit is contained in:
PJB3005 2018-03-19 16:35:25 +01:00
parent ebce36c22f
commit 6a7f552c6f

View file

@ -161,7 +161,7 @@ def configure(env):
mono_lib_path = '' mono_lib_path = ''
mono_so_name = '' mono_so_name = ''
mono_prefix = subprocess.check_output(["pkg-config", "mono-2", "--variable=prefix"], encoding="utf8").strip() mono_prefix = subprocess.check_output(["pkg-config", "mono-2", "--variable=prefix"]).decode("utf8").strip()
tmpenv = Environment() tmpenv = Environment()
tmpenv.AppendENVPath('PKG_CONFIG_PATH', os.getenv('PKG_CONFIG_PATH')) tmpenv.AppendENVPath('PKG_CONFIG_PATH', os.getenv('PKG_CONFIG_PATH'))