[Lldb-commits] [PATCH] Link libedit, libcurses, and libpanel on Darwin autoconf builds

Jevin Sweval jevinsweval at gmail.com
Fri Feb 28 10:27:05 PST 2014


I am unable to build LLDB ToT when I place lldb inside tools/ and
build using the configure script. Linking liblldb.dylib complains
about various missing *_panel methods.

The attached patch links libedit, libcurses, and libpanel on Darwin. I
would have gotten many more undefined symbol errors at link if LLDB
didn't already link in libedit and libpanel due to the top-level LLVM
build using them.

The patch enables me to build LLDB but I'm not sure if it is correct.
Should the linking be conditionalized on some option?

Looking on the CMake side of things, should libedit also get linked in?

Cheers,
Jevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: LLDB_link_edit_curses_panel.patch
Type: application/octet-stream
Size: 582 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20140228/7a5f26a8/attachment.obj>


More information about the lldb-commits mailing list