aboutsummaryrefslogtreecommitdiffhomepage
path: root/TOOLS
diff options
context:
space:
mode:
authorGravatar Stefano Pigozzi <stefano.pigozzi@gmail.com>2015-02-02 16:11:11 +0100
committerGravatar Stefano Pigozzi <stefano.pigozzi@gmail.com>2015-02-02 16:11:11 +0100
commit568a0157ff92dac051ed5cd76b957ec851c14350 (patch)
tree2f48cecf0a57e55addf2328d9c0f158cc30e244d /TOOLS
parent1ba03f6813eacb3a4176e519760bd389f25a84bb (diff)
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
Diffstat (limited to 'TOOLS')
-rwxr-xr-xTOOLS/dylib-unhell.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/TOOLS/dylib-unhell.py b/TOOLS/dylib-unhell.py
index 43fd11107b..3ba0fc39e6 100755
--- a/TOOLS/dylib-unhell.py
+++ b/TOOLS/dylib-unhell.py
@@ -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):