Skip to content

Fix CoreFoundation module install path for static build #5037

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

jmschonfeld
Copy link
Contributor

The CoreFoundation target had a hard-coded module install path of lib/swift/CoreFoundation, instead of conditionalizing it for the static build (which goes to lib/swift_static). While we don't expect clients to use CoreFoundation directly (and they shouldn't), this restores the module to unbreak existing clients that are doing this.

This resolves apple/swift-http-types#61

@jmschonfeld
Copy link
Contributor Author

@swift-ci please test

@jmschonfeld
Copy link
Contributor Author

@swift-ci please test

@jmschonfeld jmschonfeld force-pushed the restore-corefoundation-static-module branch from aa25f08 to 00f80b1 Compare July 30, 2024 18:32
@jmschonfeld
Copy link
Contributor Author

@swift-ci please test

@jmschonfeld
Copy link
Contributor Author

@swift-ci please test Windows platform

@jmschonfeld
Copy link
Contributor Author

@swift-ci please test Linux platform

@jmschonfeld jmschonfeld merged commit 9c8bac4 into swiftlang:main Aug 1, 2024
2 of 3 checks passed
@jmschonfeld jmschonfeld deleted the restore-corefoundation-static-module branch August 1, 2024 17:23
jmschonfeld added a commit to jmschonfeld/swift-corelibs-foundation that referenced this pull request Aug 1, 2024
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.

Build issue on nightly-6.0-amazonlinux2
2 participants