[Buildroot] [PATCH 1/1] ncmpc: fix build with ncursesw

Peter Korsgaard peter at korsgaard.com
Sun Apr 1 22:08:26 UTC 2018


>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice at gmail.com> writes:

 > Set curses to ncurses as ncurses and ncursesw are the same package in
 > buildroot. Otherwise, build will fail when trying to find
 > ncursesw/curses.h or ncursesw.h.

Thanks. I don't find this commit message very clear, so I've rewritten
it to this and committed:

When ncurses is built with wide support, we install libncursesw (plus a
libncurses symlink) but NOT ncursesw.h, only ncurses.h.  This combination
confuses the ncmpc build system as it expects a ncursesw.h when it finds
libncursesw:

meson.build:92:4: ERROR: Problem encountered: No ncursesw header found

The ncurses/ncursesw logic in the build system is only used to know what
header file to #include, and what library to link with.  As we already
provide a libncurses symlink when building with wide support we can simply
force ncmpc to use the ncurses variant.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list