On Wed, Nov 10, 2010 at 17:07, Bram Moolenaar <[email protected]> wrote: > It's a bit more complicated than that. Checking for tinfo before > ncurses might work on some machines. But does it work everywhere? Or > do we need to add checks for what the library needs to contain? If you use symbols from a library, you must link your application against this particular library, but not a library that is also linked against it.
vim uses no symbols from libncurses itself, but with --no-as-needed libncurses.so.X is present in DT_NEEDED and symbols from libtinfo (which itself is present in libncurses' DT_NEEDED) are sucessfully resolved by ld.so when wim is loaded. All this stuff is described in Drepper's DSO HOWTO. -- Regards, Sir Raorn. -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
