readline: fix build if ncurses headers are not found for various reasons

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2014-09-23 15:24:33 +02:00
parent 3a19737ed8
commit 70016a4c23

View File

@ -33,3 +33,9 @@ PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
PKG_CONFIGURE_OPTS_TARGET="--with-curses --without-purify"
pre_configure_target() {
CFLAGS="$CFLAGS -I$SYSROOT_PREFIX/usr/include/ncurses"
CXXFLAGS="$CXXFLAGS -I$SYSROOT_PREFIX/usr/include/ncurses"
}