Skip to content

build: cleanup some of the link rules #2596

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
Jan 6, 2020

Conversation

compnerd
Copy link
Member

@compnerd compnerd commented Jan 6, 2020

Many of the options were in place due to the legacy build. Linking
against the imported libraries will both link and include the paths.
Furthermore, now with proper Swift support, it is possible to have the
library linking be computed transitively. Avoid the double dependency
checking. Although libdispatch is also used by Foundation, allow the
autolinking to take care of that for the Foundation library as we do not
explicitly link against dispatch anywhere.

Many of the options were in place due to the legacy build.  Linking
against the imported libraries will both link and include the paths.
Furthermore, now with proper Swift support, it is possible to have the
library linking be computed transitively.  Avoid the double dependency
checking.  Although libdispatch is also used by Foundation, allow the
autolinking to take care of that for the Foundation library as we do not
explicitly link against dispatch anywhere.
@compnerd
Copy link
Member Author

compnerd commented Jan 6, 2020

@swift-ci please test

@compnerd compnerd merged commit 2deec47 into swiftlang:master Jan 6, 2020
@compnerd compnerd deleted the linking-cleanup branch January 6, 2020 16:08
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.

1 participant