From 6a7f552c6fb9f66ea9194a5717138d0f9fce9b9e Mon Sep 17 00:00:00 2001 From: PJB3005 Date: Mon, 19 Mar 2018 16:35:25 +0100 Subject: Fix mono build properly! Fixes the mistake I made in #17603 to make it require Python > 3.6. --- modules/mono/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/mono/config.py b/modules/mono/config.py index 0e21987a0e..831d849ea6 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"], encoding="utf8").strip() + mono_prefix = subprocess.check_output(["pkg-config", "mono-2", "--variable=prefix"]).decode("utf8").strip() tmpenv = Environment() tmpenv.AppendENVPath('PKG_CONFIG_PATH', os.getenv('PKG_CONFIG_PATH')) -- cgit v1.2.3