-
Notifications
You must be signed in to change notification settings - Fork 1.2k
[cmake] Fix ICU static linking #3133
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
Conversation
@swift-ci please build toolchain linux platform |
@swift-ci please test |
@swift-ci please build toolchain linux platform |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that we should be handling these similar to the icuin
case - this will break builds when used outside of the host.
lookup name vs. hardcoding it
93b318e
to
602c081
Compare
I've updated the PR to lookup the library name like |
@swift-ci please smoke test |
@swift-ci please test |
Please test with following PRs: @swift-ci please test macOS platform |
[cmake] Fix ICU static linking
When linking Foundation, we were only passing
-licui18nswift
as a static library, but it depends onicuucswift
andicudataswift
, so make sure we static link against those as well.Resolves: https://bugs.swift.org/browse/SR-15770 and rdar://problem/87991595