From 283beba0fd100484cebfeca89f7633543e42a95e Mon Sep 17 00:00:00 2001 From: Amar Takhar Date: Tue, 26 Jan 2010 17:19:50 +0000 Subject: [PATCH] Make sure /usr/lib/libexpat* isn't linked, this only exists in 10.5 forward and breaks 10.4 compat. Originally committed to SVN as r4054. --- aegisub/scripts/osx-fix-libs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aegisub/scripts/osx-fix-libs.py b/aegisub/scripts/osx-fix-libs.py index 1426ffffa..d383bfa1a 100755 --- a/aegisub/scripts/osx-fix-libs.py +++ b/aegisub/scripts/osx-fix-libs.py @@ -6,7 +6,7 @@ import os import shutil import stat -is_bad_lib = re.compile(r'(/usr/local|/opt)').match +is_bad_lib = re.compile(r'(/usr/local|/opt|/usr/lib/libexpat)').match is_sys_lib = re.compile(r'(/usr|/System)').match otool_libname_extract = re.compile(r'\s+(/.*?)[\(\s:]').search goodlist = []