--- a/meson.build Thu Jun 11 23:34:06 2020 -0500
+++ b/meson.build Sun Jun 14 03:13:54 2020 -0500
@@ -71,10 +71,11 @@
#######################################################################
+# The order of this list is important to the condition that follows. - compiler.find_library('tinfow', required : false),
compiler.find_library('ncursesw', 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
@@ -113,10 +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('tinfo', required : false),
compiler.find_library('ncurses', 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)