diff --git a/src/macosx/cleanup_rpath.py b/src/macosx/cleanup_rpath.py index 1315f36..9c8936f 100755 --- a/src/macosx/cleanup_rpath.py +++ b/src/macosx/cleanup_rpath.py @@ -90,6 +90,7 @@ for line in otool_out.split('\n'): print("match: %s" % match.groups()[0]) if 'libstdc++' in line or 'libgcc' in line: newpath = u'/usr/lib/lib%s%s.dylib' % (match.groups()[0], match.groups()[1]) + newpath = u'lib%s%s.dylib' % (match.groups()[0], match.groups()[1]) elif is_component: # newpath = u'@executable_path/../Frameworks/lib%s.dylib' % match.groups()[0] newpath = u'@executable_path/lib%s.dylib' % match.groups()[0]