[LLVMdev] making libraries depend on external libraries?

Nick Lewycky nlewycky at google.com
Fri Feb 13 10:23:37 PST 2009


How can I specify that LLVMInterpreter depends on 'libffi' in the Makefile?
Modifying LD.Flags in Interpreter/Makefile doesn't help since llvm-config
doesn't pick up on that, causing a linker error when building lli. I'd like
"llvm-config --libs interpreter" return -lffi along with the LLVM libraries
it lists.

You'd think there would be an example of this already, but I looked and
didn't find one.

Nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090213/3346b107/attachment.html>


More information about the llvm-dev mailing list