fix: warn dylib "@@" prefix

This commit is contained in:
relikd
2025-08-31 13:30:51 +02:00
parent a5590bb2ee
commit c156b6d66b

View File

@@ -1550,11 +1550,11 @@ class Fixer:
newRef = os.path.relpath(oldRef, repl1)
elif oldRef.startswith('@@HOMEBREW_PREFIX@@'):
newRef = os.path.relpath(oldRef, repl2)
elif oldRef.startswith('@'):
Log.debug('unhandled dylib link', oldRef)
elif oldRef.startswith('@@'):
Log.warn('unhandled dylib link', oldRef, summary=True)
continue
else:
continue # probably fine
continue # probably fine (incl. @rpath, @executable_path)
newRef = '@executable_path/' + newRef
if not did_change: