Module Oui.Install_name_toolSource

Helpers for modifying dynamic library paths in macOS binaries using install_name_tool.

Sourceval relocate_to_rpath : OpamFilename.t -> unit

relocate_to_rpath binary converts dylib paths to @rpath. WARNING: only uses basename!

Sourceval relocate_to_executable_path : OpamFilename.t -> unit

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.

Sourceval relocate_to_executable_path_custom : OpamFilename.t -> subdir:string -> unit

relocate_to_executable_path_custom binary ~subdir converts embeddable dylib paths to @executable_path/subdir/dylibname. Only the basename of each dylib is preserved.