summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2018-09-14 19:14:40 -0700
committerGary E. Miller <gem@rellim.com>2018-09-14 19:14:40 -0700
commit81d8df25d78175832a88c3416401f95311463234 (patch)
tree0bcc3e30cde4f698f21596f7e0a2ff4cef2df02c /SConstruct
parent2af62c86f2ff598900141be516e06345408a12ab (diff)
downloadgpsd-81d8df25d78175832a88c3416401f95311463234.tar.gz
SConstruct: fix building with Python 3.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct3
1 files changed, 2 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index 6c5b9dc9..6d6fa546 100644
--- a/SConstruct
+++ b/SConstruct
@@ -1002,7 +1002,8 @@ else:
brief=cleaning)
# follow FHS, put in /usr/local/libXX, not /usr/libXX
# may be lib, lib32 or lib64
- python_libdir = python_libdir.replace("/usr/lib", "/usr/local/lib")
+ python_libdir = python_libdir.replace(b"/usr/lib",
+ b"/usr/local/lib")
py_config_text = config.GetPythonValue('config vars',
PYTHON_SYSCONFIG_IMPORT,