swift icon indicating copy to clipboard operation
swift copied to clipboard

Set install dir correctly for libSwiftRemoteMirror

Open justice-adams-apple opened this issue 5 months ago • 1 comments

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

justice-adams-apple avatar Sep 23 '24 22:09 justice-adams-apple