From 568a0157ff92dac051ed5cd76b957ec851c14350 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Mon, 2 Feb 2015 16:11:11 +0100 Subject: 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 --- TOOLS/dylib-unhell.py | 1 + 1 file changed, 1 insertion(+) (limited to 'TOOLS') 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): -- cgit v1.2.3