Skip to content

Platform: link against Pathcch.lib when using pathcch.h #34314

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
Oct 15, 2020

Conversation

compnerd
Copy link
Member

The MSDN documentation indicates that you should link against the
Pathcch.lib import library when using functions from pathcch.h which
can also be verified by use functions failing to link due to unresolved
symbols. Add the missing linking to enable autolinking for WinSDK.

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

The MSDN documentation indicates that you should link against the
`Pathcch.lib` import library when using functions from `pathcch.h` which
can also be verified by use functions failing to link due to unresolved
symbols.  Add the missing linking to enable autolinking for `WinSDK`.
@compnerd
Copy link
Member Author

@swift-ci please smoke test

@compnerd
Copy link
Member Author

CC: @egorzhdan

@compnerd compnerd merged commit d3108db into swiftlang:main Oct 15, 2020
@compnerd compnerd deleted the autolinking-pathcch branch October 15, 2020 01:14
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