osxbundle: don't try to package Python

This fixes usage when the bundle is used on the same machine that Python/Cython
was compiled on. It doesn't fix the harder problem of packaging a full Python
installation in the mpv app bundle (and I'm not sure we actually want that).

Fixes #1549
This commit is contained in:
Stefano Pigozzi 2015-02-02 16:11:11 +01:00
parent 1ba03f6813
commit 568a0157ff
1 changed files with 1 additions and 0 deletions

View File

@ -19,6 +19,7 @@ def is_user_lib(objfile, libname):
not "libSystem." in libname and \
not "libc." in libname and \
not "libgcc." in libname and \
not os.path.basename(libname) == 'Python' and \
not os.path.basename(objfile) in libname
def otool(objfile):