Fix readline oops.

This commit is contained in:
fewtarius 2022-08-30 06:12:29 -04:00
parent 2916ed9957
commit 3624351d57
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A

View file

@ -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
}