diff options
author | Kyle Huey <khuey@kylehuey.com> | 2024-06-26 11:16:29 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-26 11:16:29 -0700 |
commit | 0f24a462386409c1d907aefb9d8a58481cb71933 (patch) | |
tree | db16ab790b5b5d92f205a3fd2d0134e60b2641fd /llvm/lib/CodeGen/MachineStripDebug.cpp | |
parent | 141bea8c3cad62b381aef3c216cf7f78b812f580 (diff) | |
download | llvm-0f24a462386409c1d907aefb9d8a58481cb71933.zip llvm-0f24a462386409c1d907aefb9d8a58481cb71933.tar.gz llvm-0f24a462386409c1d907aefb9d8a58481cb71933.tar.bz2 |
[llvm-config] Make llvm-config --system-libs obey LLVM_USE_STATIC_ZSTD (#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
Diffstat (limited to 'llvm/lib/CodeGen/MachineStripDebug.cpp')
0 files changed, 0 insertions, 0 deletions