summaryrefslogtreecommitdiffstats
path: root/wscript_build.py
diff options
context:
space:
mode:
Diffstat (limited to 'wscript_build.py')
-rw-r--r--wscript_build.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/wscript_build.py b/wscript_build.py
index 33e68589a5..88c836e278 100644
--- a/wscript_build.py
+++ b/wscript_build.py
@@ -448,9 +448,7 @@ def build(ctx):
ctx.path.find_node("libmpv/client.h").read(),
re.M)
.group(1), 16)
- libversion = (str(vnum >> 24) + '.' +
- str((vnum >> 16) & 0xff) + '.' +
- str(vnum & 0xffff))
+ libversion = str(vnum >> 16) + '.' + str(vnum & 0xffff) + '.0'
def _build_libmpv(shared):
features = "c "