diff options
author | Akemi <der.richter@gmx.de> | 2017-10-07 22:18:22 +0200 |
---|---|---|
committer | Akemi <der.richter@gmx.de> | 2017-10-07 22:18:22 +0200 |
commit | 318e2e53f0ff6c466f781378bbacea3e2b8dd8bb (patch) | |
tree | 97bd02f715f3a566681f68438fe1521ae49e4459 /osdep | |
parent | 2c046c48ec677abf59a235b3595387726c04b9e6 (diff) | |
download | mpv-318e2e53f0ff6c466f781378bbacea3e2b8dd8bb.tar.bz2 mpv-318e2e53f0ff6c466f781378bbacea3e2b8dd8bb.tar.xz |
osx: add right MacPorts paths to our bundle $PATH
also add another path for homebrew.
Diffstat (limited to 'osdep')
-rw-r--r-- | osdep/macosx_application.m | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/osdep/macosx_application.m b/osdep/macosx_application.m index c5540494e4..17ccacec56 100644 --- a/osdep/macosx_application.m +++ b/osdep/macosx_application.m @@ -266,8 +266,9 @@ static void setup_bundle(int *argc, char *argv[]) NSString *path_new = [NSString stringWithFormat:@"%@:%@:%@:%@", path_bundle, @"/usr/local/bin", - @"/usr/opt/bin", - @"/usr/opt/local/bin"]; + @"/usr/local/sbin", + @"/opt/local/bin", + @"/opt/local/sbin"]; setenv("PATH", [path_new UTF8String], 1); setenv("MPVBUNDLE", "true", 1); } |