llvm-config --ldflags lists too many libs #4648
Labels
bugzilla
Issues migrated from bugzilla
llvm-tools
All llvm tools that do not have corresponding tag
obsolete
Extended Description
llvm-config --ldflags lists all libs used anywhere in LLVM, regardless of whether the user is linking to them.
For instance: this causes a static compiler to link to libffi, which is only used by the JIT AFAIK[1].
Relevant link: http://lists.cs.uiuc.edu/pipermail/llvmdev/2009-February/020155.html
[1]: And which is not installed on all systems I might add, so this is a problem for distributing binaries of said static compiler.
I'm working around this by manually editing llvm-config...
The text was updated successfully, but these errors were encountered: