swift
swift copied to clipboard
Set install dir correctly for libSwiftRemoteMirror
In This PR
- Include
libswiftRemoteMirror
in shared cache by ensuring the split segment info load command is included in the library.
The linker only adds LC_SEGMENT_SPLIT_INFO
if the install name of the library is in /usr/lib
Previously, SWIFTLIB_DARWIN_INSTALL_NAME_DIR
was used incorrectly and not set, meaning the library would default install_name to @rpath/libswiftRemoteMirror.dylib