mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
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:
@@ -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"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user