Re: [PATCH] meson: rewrite curses/iconv test

2020-10-20 Thread Paolo Bonzini
On 19/10/20 21:58, 罗勇刚(Yonggang Luo) wrote: > >> + if not curses.found() +curses_compile_args = >> ['-DNCURSES_WIDECHAR'] > > Here is what I think need improve in meson, when declare > dependencies, we need a extra option compile_args for easily testing > extra compile args, and maybe also n

Re: [PATCH] meson: rewrite curses/iconv test

2020-10-19 Thread Yonggang Luo
On Mon, Oct 19, 2020 at 5:45 PM Paolo Bonzini wrote: > > Redo the curses test to do the same tests that the configure > check used to do. OpenBSD triggers the warning because > it does not support NCURSES_WIDECHAR and thus the cc.links > test fails. > > Signed-off-by: Paolo Bonzini > --- > meso

[PATCH] meson: rewrite curses/iconv test

2020-10-19 Thread Paolo Bonzini
Redo the curses test to do the same tests that the configure check used to do. OpenBSD triggers the warning because it does not support NCURSES_WIDECHAR and thus the cc.links test fails. Signed-off-by: Paolo Bonzini --- meson.build | 109 +--- 1 f