Previously, failure to find libncurses was silently ignored, leading
to compiler or linker errors.
Closes #6
* fix crash after losing MPD connection
* fix crash after DNS lookup error
* add Meson option "lyrics_plugin_dir"
+* fallback libncurses detection without pkg-config
ncmpc 0.28 - (2017-09-21)
* fix crash on lyrics screen
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