Skip to content

llvm-config wrongly link to zstd.dll.lib but not zstd.lib on Windows #134025

Open
@jiangjianshan

Description

@jiangjianshan

Hello,
I'm using this script https://github.com/jiangjianshan/msvc-pkg/blob/main/packages/llvm-project/build.bat to build llvm-project 20.1.1. The built is sucessful but I have found the output of 'llvm-config --system-libs' contains 'zstd.dll.lib' but not 'zstd.lib'. Actually 'zstd.dll.lib' is not exist but 'zstd.lib' is exactly what I want.
It will take a really long time to build llvm-project. So I put the issue here and try to save the research time. If you want to reproduce it. You can do following way and then it will start to build llvm-project:

git clone https://github.com/jiangjianshan/msvc-pkg.git
cd msvc-pkg
mpt llvm-project

Metadata

Metadata

Assignees

No one assigned

    Labels

    cmakeBuild system in general and CMake in particularllvm:support

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions