build: Adjustments for scons running in Python 3.
[gps-watch.git] / SConscript.target
index fa4ca1775d42e3ea4d47efce8000a67bdb06e62a..afd10bde73d3de69c6f570d3bf73415e624026b4 100644 (file)
@@ -36,7 +36,7 @@ env.Append(LINKFLAGS = [
 
 libgcc_path = \
     subprocess.check_output('{} -print-libgcc-file-name'.format(env['CC']),
-                            shell=True).strip()
+                            shell=True).strip().decode('utf-8')
 
 env.Append(RUSTCFLAGS = [
     '-C', 'opt-level=s',