Op donderdag 14 november 2013 15:41:42 UTC+1 schreef ZyX: [..] > > I think disabling --as-needed is not a proper fix. Should not you instead > construct a check which will catch this case and force -lintl? If I read > correctly you make build system link with a bolder libelf while only libintl > is needed and not the whole libelf. >
The check for NLS is actually supposed to catch how to properly link so there is gettext support. The fact that libelf is included is because configure decides this is needed earlier on. I did not change anything special in that respect. I cannot say which parts of libelf are used. An alternative fix is to change the NLS check so that no libraries are used during the test. Currently, the test is executed with $LIBS, which for example contains -lm -lnsl -lncurses, but could also contain -lacl -lattr. I don't think all these libraries are needed for the simple test for gettext. I have just sent an alternative patch that does just this. It indeed 'feels' better than disabling as-needed. Thanks, Thomas -- -- 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 --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
