summaryrefslogtreecommitdiffstats
path: root/wscript_build.py
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2013-12-04 21:36:02 +0100
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2013-12-04 21:39:53 +0100
commit18f3a1a7ee3de98f6e82148d4b31dc4972aaa8c6 (patch)
treee983820fc8fa80ca7a31d1aa95d36f2f6b238923 /wscript_build.py
parent6e34b0ec1f50612cb2767da3dbc27be0be63041d (diff)
downloadmpv-18f3a1a7ee3de98f6e82148d4b31dc4972aaa8c6.tar.bz2
mpv-18f3a1a7ee3de98f6e82148d4b31dc4972aaa8c6.tar.xz
build: osx: set chmod to 755 for non-bundle binary during install
When installing the bundle we also manually install the origianl binary. Waf defaults to chmod 644, so we must explicitely set it to 755.
Diffstat (limited to 'wscript_build.py')
-rw-r--r--wscript_build.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/wscript_build.py b/wscript_build.py
index e004727430..bd1b41676d 100644
--- a/wscript_build.py
+++ b/wscript_build.py
@@ -434,7 +434,8 @@ def build(ctx):
)
if ctx.dependency_satisfied('macosx-bundle'):
- ctx.install_files(ctx.env.BINDIR, 'mpv')
+ from waflib import Utils
+ ctx.install_files(ctx.env.BINDIR, 'mpv', chmod=Utils.O755)
if ctx.dependency_satisfied("vf-dlopen-filters"):
dlfilters = "showqscale telecine tile rectangle framestep \