blob: 0bf7096ad94f005e06f08f10c8bf0f3c22978576 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
diff --git a/src/database/wscript b/src/database/wscript
index 8eca1d0..3916a7d 100644
--- a/src/database/wscript
+++ b/src/database/wscript
@@ -20,7 +20,7 @@ def configure(conf):
conf.env.BUILD_PGSQL = False
if not Options.options.disable_database:
try:
- incdir = subprocess.check_output(['pg_config', '--includedir-server']).decode()
+ incdir = subprocess.check_output(['pg_config', '--includedir-server']).decode('utf-8')
libdir = subprocess.check_output(['pg_config', '--libdir']).decode()
if conf.check_cxx(lib = 'pq',
header_name = 'postgres.h',
|