alsa-utils: force the variant of ncurses library
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 18 Feb 2010 18:08:41 +0000 (19:08 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 18 Feb 2010 18:08:41 +0000 (19:08 +0100)
commit1072cf190cb9ce2a0cd7269065bcc07922211998
tree233ec44fa6fea6838f4cb46005f21ac1cd5f53d5
parentf0bdacdb5b8fe0fbc276ed510fc58e9a219f5cf8
alsa-utils: force the variant of ncurses library

Two variants of the ncurses library exist: the normal one, and the
ncursesw one, which has support for wide char. Currently, Buildroot
only builds the normal variant (the second variant requires
--enable-widec while compiling ncurses).

Unfortunately, when libncursesw is installed on the host, the
configure script of alsa-utils finds /usr/bin/ncursesw5-config and
thinks that the target has this version. Unfortunately, as this is not
the case, it causes a configure failure when trying to link a sample
program against libpanelw (which is part of ncurses).

Therefore, we force the libncurses variant used by alsa-utils to the
normal variant.

Later on, if needed, support for the wide-char variant of the
libncurses library could be added.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/multimedia/alsa-utils/alsa-utils.mk