Oui.Install_name_toolSourceHelpers for modifying dynamic library paths in macOS binaries using install_name_tool.
relocate_to_rpath binary converts dylib paths to @rpath. WARNING: only uses basename!
relocate_to_executable_path binary converts embeddable dylib paths to @executable_path/../Frameworks/dylibname (standard .app bundle structure). Only the basename of each dylib is preserved.
relocate_to_executable_path_custom binary ~subdir converts embeddable dylib paths to @executable_path/subdir/dylibname. Only the basename of each dylib is preserved.