[PATCH] D42702: Fix llvm-config --system-libs output on FreeBSD and NetBSD
Dimitry Andric via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 1 10:20:50 PST 2018
dim added a comment.
In https://reviews.llvm.org/D42702#994985, @krytarowski wrote:
> `-l/usr/lib/libexecinfo.so` this should be replaced with `-lexecinfo`.
As I said, this is something detected by CMake, not LLVM's scripts. We could attempt to submit a fix to CMake, but that will take quite some time to arrive, and some vendor versions (such as Red Hat's or Debian's) will not be fixed for years, if ever.
> Does it work this way with this patch?
What this patch does, is pass through absolute library paths (even if those might be less desirable) through, unmodified, so programs using `llvm-config --system-libs` will not fail to link.
Repository:
rL LLVM
https://reviews.llvm.org/D42702
More information about the llvm-commits
mailing list