Skip to content

Conversation

owenv
Copy link
Contributor

@owenv owenv commented Sep 20, 2025

SwiftPM's native build system does not have the concept of embedding the compatibility libraries for distribution, so add rpaths to the span back deploy library in the toolchain when targeting macOS < 26. Ensure we always insert /usr/lib/swift ahead of the added rpaths to prefer the OS content when available. this mirrors the handling of the concurrency compat lib

Closes #9163

@owenv
Copy link
Contributor Author

owenv commented Sep 20, 2025

@swift-ci test

@owenv
Copy link
Contributor Author

owenv commented Sep 20, 2025

@swift-ci test

@owenv
Copy link
Contributor Author

owenv commented Sep 21, 2025

@swift-ci test macOS

@owenv
Copy link
Contributor Author

owenv commented Sep 21, 2025

@swift-ci test Windows

@owenv owenv merged commit 84c6db8 into swiftlang:main Sep 22, 2025
6 checks passed
owenv added a commit to owenv/swift-package-manager that referenced this pull request Sep 22, 2025
…ftlang#9164)

SwiftPM's native build system does not have the concept of embedding the
compatibility libraries for distribution, so add rpaths to the span back
deploy library in the toolchain when targeting macOS < 26. Ensure we
always insert /usr/lib/swift ahead of the added rpaths to prefer the OS
content when available. this mirrors the handling of the concurrency
compat lib

Closes swiftlang#9163
owenv added a commit to owenv/swift-package-manager that referenced this pull request Sep 22, 2025
…ftlang#9164)

SwiftPM's native build system does not have the concept of embedding the
compatibility libraries for distribution, so add rpaths to the span back
deploy library in the toolchain when targeting macOS < 26. Ensure we
always insert /usr/lib/swift ahead of the added rpaths to prefer the OS
content when available. this mirrors the handling of the concurrency
compat lib

Closes swiftlang#9163
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6.2 OSS toolchain failed to find libswiftCompatibilitySpan.dylib in testing
2 participants