Skip to content

Commit

Permalink
scons: fix build with forum_user_handler=true + py3
Browse files Browse the repository at this point in the history
  • Loading branch information
loonycyborg committed Oct 13, 2019
1 parent 2e4312f commit 4aba57b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SConstruct
Expand Up @@ -421,7 +421,7 @@ if env["prereqs"]:
found_connector = False
for sql_config in ["mariadb_config", "mysql_config"]:
try:
mysql_config = check_output([sql_config, "--libs", "--cflags"]).replace("\n", " ").replace("-DNDEBUG", "")
mysql_config = check_output([sql_config, "--libs", "--cflags"]).decode("utf-8").replace("\n", " ").replace("-DNDEBUG", "")
mysql_flags = env.ParseFlags(mysql_config)
env.Append(CPPDEFINES = ["HAVE_MYSQLPP"])
env.MergeFlags(mysql_flags)
Expand Down

0 comments on commit 4aba57b

Please sign in to comment.