mirror of https://github.com/mpv-player/mpv
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:
parent
6e34b0ec1f
commit
18f3a1a7ee
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue