Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[llvm-config] Make llvm-config --system-libs obey LLVM_USE_STATIC_ZSTD (
llvm#93754) LLVM's build system does the right thing but LLVM_SYSTEM_LIBS ends up containing the shared library. Emit the static library instead when appropriate. With LLVM_USE_STATIC_ZSTD, before: khuey@zhadum:~/dev/llvm-project/build$ ./bin/llvm-config --system-libs -lrt -ldl -lm -lz -lzstd -lxml2 after: khuey@zhadum:~/dev/llvm-project/build$ ./bin/llvm-config --system-libs -lrt -ldl -lm -lz /usr/local/lib/libzstd.a -lxml2
- Loading branch information