Skip to content

PackageLoading: support non-Unix platforms for PkgConfig #5517

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

Closed
wants to merge 1 commit into from

Conversation

compnerd
Copy link
Member

pkg-config is a common utility on UNIX systems, but does not play very
well with Windows. This adjusts the path separator character to match
the platform as well as uses AbsolutePath APIs to work with paths as
a means of getting the platform specific path separator character. It
also introduces the ability to specify the pkgconfig tool itself which
is needed for Windows which does not support an arbitrary executable.

@compnerd
Copy link
Member Author

@swift-ci please smoke test

pkg-config is a common utility on UNIX systems, but does not play very
well with Windows.  This adjusts the path separator character to match
the platform as well as uses `AbsolutePath` APIs to work with paths as
a means of getting the platform specific path separator character.  It
also introduces the ability to specify the pkgconfig tool itself which
is needed for Windows which does not support an arbitrary executable.
@compnerd
Copy link
Member Author

@swift-ci please smoke test

@compnerd compnerd closed this May 18, 2022
@compnerd compnerd deleted the config branch May 18, 2022 15:10
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