Skip to content

CoreFoundation: fix CoreFoundation for Foundation static builds #1878

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
merged 1 commit into from
Feb 3, 2019

Conversation

compnerd
Copy link
Member

@compnerd compnerd commented Feb 2, 2019

CoreFoundation built statically for Foundation is used as an objects
library. We want to re-export the symbols. This requires that exports
are enabled for the target, but CMake defines _EXPORT symbols only for
shared libraries and -rdynamic executables. Use the custom macro for
the static case for Foundation.

CoreFoundation built statically for Foundation is used as an objects
library.  We want to re-export the symbols.  This requires that exports
are enabled for the target, but CMake defines _EXPORT symbols only for
shared libraries and `-rdynamic` executables.  Use the custom macro for
the static case for Foundation.
@compnerd
Copy link
Member Author

compnerd commented Feb 2, 2019

@swift-ci please test and merge

@swift-ci swift-ci merged commit 53ffe05 into swiftlang:master Feb 3, 2019
@compnerd compnerd deleted the static-as-shared branch February 3, 2019 00:49
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.

2 participants