diff options
author | wm4 <wm4@nowhere> | 2015-02-19 09:40:50 +0100 |
---|---|---|
committer | Diogo Franco (Kovensky) <diogomfranco@gmail.com> | 2015-02-19 19:33:49 +0900 |
commit | 07222d14f9518c4094487951a269a04000e56c3e (patch) | |
tree | 8e970a7a916a6bba38168cc6436c3f8de91bf100 /wscript | |
parent | 28fbee7f033eaa5dfb193850f4783088b5f48034 (diff) | |
download | mpv-07222d14f9518c4094487951a269a04000e56c3e.tar.bz2 mpv-07222d14f9518c4094487951a269a04000e56c3e.tar.xz |
build: fix Python 3 unicode issue with waf 1.8.6
Starting with waf 1.8.6 (in Python 3), the hcode variable isn't a
string, but a byte string.
This commit adds the solution proposed in the upstream waf bug report:
https://code.google.com/p/waf/issues/detail?id=1535
It seems a bit overly verbose, but on the other hand, this solution has
the chance of being most correct/compatible.
Fixes #1604.
(cherry picked from commit 14b231119d2c125bcdcba48d159a78097152e387)
Diffstat (limited to 'wscript')
0 files changed, 0 insertions, 0 deletions