Bugzilla – Bug 4276
llvm-config --ldflags lists too many libs
Last modified: 2010-08-11 22:45:17 CDT
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...