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.
This commit is contained in:
Stefano Pigozzi 2013-12-04 21:36:02 +01:00
parent 6e34b0ec1f
commit 18f3a1a7ee
1 changed files with 2 additions and 1 deletions

View File

@ -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 \