aboutsummaryrefslogtreecommitdiffstats
path: root/src/LogInit.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/LogInit.cxx')
-rw-r--r--src/LogInit.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/LogInit.cxx b/src/LogInit.cxx
index 2a5d4d7c5..38dd5356b 100644
--- a/src/LogInit.cxx
+++ b/src/LogInit.cxx
@@ -190,7 +190,9 @@ void setup_log_output(bool use_stdout)
close(out_fd);
out_fd = -1;
+#ifdef HAVE_GLIB
SetLogCharset(nullptr);
+#endif
}
int cycle_log_files(void)