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)
commit354aa80ada3ac1c39e3d752ecad9f90e4b80934b
treefab4bcb414bb19a07c156d5e87a9f18dc9870436
parentf03bf608b15125049fe5b9e9b79db1a9d0750182
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