Fix readline oops.
This commit is contained in:
parent
2916ed9957
commit
3624351d57
1 changed files with 1 additions and 6 deletions
|
@ -17,12 +17,7 @@ PKG_CONFIGURE_OPTS_TARGET="bash_cv_wcwidth_broken=no \
|
|||
--disable-static \
|
||||
--with-curses"
|
||||
|
||||
pre_configure_target() {
|
||||
export LDFLAGS="${LDFLAGS} -lncurses"
|
||||
}
|
||||
|
||||
post_makeinstall_target() {
|
||||
sed -i 's/-lreadline/-lreadline -lncursesw -ltinfo/' ${SYSROOT_PREFIX}/usr/lib/pkgconfig/readline.pc
|
||||
|
||||
sed -i 's/-lreadline/-lreadline -lncursesw/' ${SYSROOT_PREFIX}/usr/lib/pkgconfig/readline.pc
|
||||
rm -rf ${INSTALL}/usr/share/readline
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue