ncurses: fix gpm support
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Mon, 15 Dec 2014 22:00:11 +0000 (19:00 -0300)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 15 Dec 2014 22:32:20 +0000 (23:32 +0100)
commit9ab0c37e41e8cd36b90b97bce1bafe668c0c0a20
tree15c5a1ea43daf694711dae392b49f1d285e68237
parentd4b2b032a00c9922c9efa144b014dc086a7e48f1
ncurses: fix gpm support

The CF_LIB_SONAME macro doesn't work when cross compiling so we need to
specify the lib name for libgpm explicitly. While at it make gpm support
explicit in the form of --without-gpm when it's not selected and adding
it to dependencies when it is. Fixes:
http://autobuild.buildroot.net/results/32a/32a5ba3905772a3f2f2ec9d1b290a109fe22d9f9/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/ncurses/ncurses.mk