diff --git a/meson.build b/meson.build
index 428e41e3b45156e5cae210124f8972a62fb93992..bc1b5e2f8695b09373d5196259462d48a48d5bbf 100644 (file)
--- a/meson.build
+++ b/meson.build
if curses_dep.found()
curses = 'ncurses'
else
+ curses_dep = cc.find_library('ncursesw', required: false)
+ if not curses_dep.found()
+ curses_dep = cc.find_library('ncurses')
+ endif
+
# TODO: find other curses implementation (pdcurses?)
endif
endif