summaryrefslogtreecommitdiffstats
path: root/waftools
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2013-11-26 15:53:33 +0100
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2013-11-26 21:35:37 +0100
commit803ff1a283160b50417a61c35689136d0191470b (patch)
tree864eb885c5ca1db72f08ccc9aa473322c62eacc5 /waftools
parent6ead6aa005f1c78a117bde58e48f106cfd1e9806 (diff)
downloadmpv-803ff1a283160b50417a61c35689136d0191470b.tar.bz2
mpv-803ff1a283160b50417a61c35689136d0191470b.tar.xz
build: unbreak __get_osslibdir__ on python3
Fixes #370
Diffstat (limited to 'waftools')
-rw-r--r--waftools/checks/custom.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/waftools/checks/custom.py b/waftools/checks/custom.py
index ecf0def6ed..623a02fda8 100644
--- a/waftools/checks/custom.py
+++ b/waftools/checks/custom.py
@@ -87,7 +87,7 @@ def __get_osslibdir__():
p = Utils.subprocess.Popen(cmd, stdin=Utils.subprocess.PIPE,
stdout=Utils.subprocess.PIPE,
stderr=Utils.subprocess.PIPE)
- return p.communicate()[0].rstrip()
+ return p.communicate()[0].decode().rstrip()
except Exception:
return ""