--- a/meson.build Thu Jun 18 05:13:34 2020 +0000
+++ b/meson.build Sun Jun 21 08:32:01 2020 +0000
@@ -71,9 +71,11 @@
#######################################################################
+# The order of this list is important to the condition that follows. compiler.find_library('ncursesw', required : false),
- compiler.find_library('panelw', required : false)
+ compiler.find_library('panelw', required : false), + compiler.find_library('tinfow', required : false), if not ncurses_libs[0].found() or not ncurses_libs[1].found()
ncurses_available = false
@@ -112,9 +114,11 @@
# ncursesw was not found. Look for plain old ncurses
+ # The order of this list is important to the condition that follows. compiler.find_library('ncurses', required : false),
- compiler.find_library('panel', required : false)
+ compiler.find_library('panel', required : false), + compiler.find_library('tinfo', required : false), ncurses_available = ncurses_libs[0].found() and ncurses_libs[1].found()
gnt_config.set('NO_WIDECHAR', true)