--- bindepend.py	2009-05-13 10:44:32.000000000 +0100
+++ bindepend.patched.py	2009-05-13 10:38:57.000000000 +0100
@@ -355,10 +355,15 @@
 
         This implementation is for otool platforms"""
     rslt = []
     for line in os.popen('otool -L "%s"' % pth).readlines():
         m = re.search(r"\s+(.*?)\s+\(.*\)", line)
         if m:
             lib = m.group(1)
+            if lib.startswith("@executable_path"):
+                rel_path = lib.replace("@executable_path",".")
+                rel_path = os.path.join(os.path.dirname(pth), rel_path)
+                lib = os.path.abspath(rel_path)
             if os.path.exists(lib):
                 rslt.append(lib)
             else:
