Alexey Froloff wrote: > On Wed, Nov 10, 2010 at 01:25, Bram Moolenaar <b...@moolenaar.net> wrote: > > The change to --as-needed should not require any configure argument > > changes. =A0If it built OK before it should still build OK. > libncurses is linked against libtinfo, but vim doesn't use any symbols from > libncurses. -lncurses must be changed to -ltinfo, this is how --as-needed > works.
So, it turns out that --as-needed cannot replace the old method from link.sh completely. Since different systems put different things in libraries, and ncurses is especially unpredictable, how would a configure check for -ltinfo work? Could we always add -ltinfo when it's available, and then let --as-needed skip ncurses when nothing is used from there? -- Sorry, no fortune today. /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ download, build and distribute -- http://www.A-A-P.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- 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