Skip to content

Conversation

@jmschonfeld
Copy link
Contributor

For private dependencies, the compiler needs to know to link the extra static libraries when building against the static stdlib. These extra flags ensure that when linking against libFoundationEssentials.a that the compiler also links lib_CShims.a and lib_FoundationCollections.a and that when linking against libFoundationInternationalization.a that the compiler also links lib_CShims.a and lib_FoundatonICU.a

@jmschonfeld jmschonfeld merged commit 544aa64 into swiftlang:main Jun 18, 2024
@jmschonfeld jmschonfeld deleted the cmake/autolink-static-libs branch June 18, 2024 22:59
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