Registry Mirror
Skip to content
This repository was archived by the owner on Oct 17, 2021. It is now read-only.

Conversation

@compnerd

Copy link
Copy Markdown
Contributor

Silence an annoying warning about pkg-config. pkg-config is not portable, and system dependencies are just as unportable. Windows requires manual dependency management and does not have a standard tool for locating system wide libraries. Instead, the user is expected to provide proper flags. This removes the pkg-config and brew based package dependency tracking for Windows.

Instead, users should build using something along the lines of:

swift build -Xcc -IS:\Library\libxml2-development\usr\include -Xcc -IS:\Library\libxml2-development\usr\include\libxml2 -Xlinker -LS:\Library\libxml2-development\usr\lib

Silence an annoying warning about pkg-config.  `pkg-config` is not portable, and system dependencies are just as unportable.  Windows requires manual dependency management and does not have a standard tool for locating system wide libraries.  Instead, the user is expected to provide proper flags.  This removes the pkg-config and brew based package dependency tracking for Windows.

Instead, users should build using something along the lines of:
```
swift build -Xcc -IS:\Library\libxml2-development\usr\include -Xcc -IS:\Library\libxml2-development\usr\include\libxml2 -Xlinker -LS:\Library\libxml2-development\usr\lib
```
@mattt
mattt merged commit 9eb63e2 into SwiftDocOrg:main Apr 20, 2021
@mattt

mattt commented Apr 20, 2021

Copy link
Copy Markdown
Contributor

Thanks, @compnerd! I'll cut a new release once I get the rest of your PRs merged.

@mattt

mattt commented Apr 20, 2021

Copy link
Copy Markdown
Contributor

This is now available in version 0.1.1.

@compnerd
compnerd deleted the patch-3 branch April 24, 2021 19:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants