[all-commits] [llvm/llvm-project] f093d7: fix zstd_shared detection on mingw (#139945)
Jameson Nash via All-commits
all-commits at lists.llvm.org
Sat May 24 14:05:23 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f093d7e46c8ed3b8f01b4a7a96207f054ee7c16f
https://github.com/llvm/llvm-project/commit/f093d7e46c8ed3b8f01b4a7a96207f054ee7c16f
Author: Jameson Nash <vtjnash at gmail.com>
Date: 2025-05-25 (Sun, 25 May 2025)
Changed paths:
M llvm/cmake/modules/Findzstd.cmake
Log Message:
-----------
fix zstd_shared detection on mingw (#139945)
The zstd_shared autodetection was broken for non-MSVC (mingw) compiled
LLVM, since it assumed that `*.a` uniquely identifies a file as being a
static library, but typically this is actually an import lib formed as
the longer name `*.dll.a` from the binary. This leads to confusing
output elsewhere, in cmake and llvm-config, when they report this is a
static library at an absolute path instead of a shared library named
`-lzstd`.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list