ncurses: Fix build of libncursew
authorJohn Crispin <blogic@openwrt.org>
Fri, 11 Dec 2015 15:06:01 +0000 (15:06 +0000)
committerJohn Crispin <blogic@openwrt.org>
Fri, 11 Dec 2015 15:06:01 +0000 (15:06 +0000)
commit1d1272f6edac14fa38437b43b72ea70548620c91
treedf42f793f1ca6d7fa9677e809dee8e4000c83c2f
parent7e6cf3b5feba5f96d7694498dfbf58e40e8eed29
ncurses: Fix build of libncursew

Packages using libncursesw can fail to build if both libncurses and libncursesw
are not installed. Currently the ncurses.h file is installed in "usr/include/ncursesw"
directory and includes other .h files in the "usr/include" directory incorrectly.
For example: Including <ncursesw/ncurses.h> fails due to these references. These build
changes will set the correct include paths within the developer includes.

Packages that expect ncurses.h (or curses.h) in the default "usr/include" path fail
even when expecting to build with libncursesw and will need to be fixed as well. However,
they cannot be fixed until this patch is applied.

Signed-off-by: Ted Hess <thess@kitschensync.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47853 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/libs/ncurses/Makefile