libgnt/libgnt

69d553f60cbc
Parents 74911ff78ac5
Children c9ab4b684cf4
Don't mess with the order of the ncurses libraries as the order is important.
  • +4 -2
    meson.build
  • --- 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 @@
    #######################################################################
    ncurses_available = true
    ncurses_inc = []
    +# The order of this list is important to the condition that follows.
    ncurses_libs = [
    - 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 @@
    endif
    else
    # ncursesw was not found. Look for plain old ncurses
    + # The order of this list is important to the condition that follows.
    ncurses_libs = [
    - 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)