diff --git a/TOOLS/dylib-unhell.py b/TOOLS/dylib-unhell.py index 2f3a6c611e..43fd11107b 100755 --- a/TOOLS/dylib-unhell.py +++ b/TOOLS/dylib-unhell.py @@ -15,10 +15,10 @@ def is_user_lib(objfile, libname): return not sys_re.match(libname) and \ not usr_re.match(libname) and \ not exe_re.match(libname) and \ - not "libobjc" in libname and \ - not "libSystem" in libname and \ - not "libc" in libname and \ - not "libgcc" in libname and \ + not "libobjc." in libname and \ + not "libSystem." in libname and \ + not "libc." in libname and \ + not "libgcc." in libname and \ not os.path.basename(objfile) in libname def otool(objfile):