summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-03-19 17:04:45 +0100
committerGitHub <noreply@github.com>2018-03-19 17:04:45 +0100
commitc4a8b8f7c52f90ff12a8f3df60c3a4468f7626bf (patch)
tree3afcd84767575766b68944f261abb44fb67e7724
parentebce36c22f1aa27e3ef449565bf1e35c19a3e830 (diff)
parent6a7f552c6fb9f66ea9194a5717138d0f9fce9b9e (diff)
Merge pull request #17634 from PJB3005/18-03-19-mono-build-blunder
Fix mono build properly!
-rw-r--r--modules/mono/config.py2
1 files changed, 1 insertions, 1 deletions
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'))