Clang+LLVM on windows doesn't ship with libxml2s.lib which is listed as a system library in llvm-config
- Dominant language
- LLVM
- Stars
- 40.5k
- Forks
- 18.7k
- PR merge metrics
- PR metrics pending
Description
Clang+LLVM doesn't ship with libxml2s.lib which is listed as a system library for llvm-config which breaks linking in downstream projects like [Inkwell](https://github.com/TheDan64/inkwell) and [llvm-sys.rs](https://gitlab.com/taricorp/llvm-sys.rs/).
```
❯ llvm-config --system-libs
psapi.lib shell32.lib ole32.lib uuid.lib advapi32.lib ws2_32.lib ntdll.lib libxml2s.lib
```
As far as I know all of these except libxml2s.lib is already on windows.
Any reason why libxml2s.lib is not provided in the lib folder?
Contributor guide
Research direction
Start with the llvm-config --system-libs output shown in the issue and inspect the Windows installation's lib folder and packaging configuration. Verify whether libxml2s.lib is expected to be shipped or should be omitted from the reported system libraries, then confirm the resulting llvm-config output no longer breaks downstream linking.
Written by the indexing model from the issue text.
Assessment
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100