ncurses: Fix build of libncursew
authorJohn Crispin <john@openwrt.org>
Fri, 11 Dec 2015 15:06:01 +0000 (15:06 +0000)
committerJohn Crispin <john@openwrt.org>
Fri, 11 Dec 2015 15:06:01 +0000 (15:06 +0000)
commit3fbbc669b4898acfdbb970bf03ea39cbaeb09694
treedf42f793f1ca6d7fa9677e809dee8e4000c83c2f
parentcbce024f7b2df65689d673c4dcccb6eeea5cc959
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>
SVN-Revision: 47853
package/libs/ncurses/Makefile