mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
readline: fix static library linking via pkg-config
This commit is contained in:
@@ -18,5 +18,8 @@ PKG_CONFIGURE_OPTS_TARGET="bash_cv_wcwidth_broken=no \
|
||||
--with-curses"
|
||||
|
||||
post_makeinstall_target() {
|
||||
# fix static library
|
||||
sed -i 's/-lreadline/-lreadline -lncursesw/' ${SYSROOT_PREFIX}/usr/lib/pkgconfig/readline.pc
|
||||
|
||||
rm -rf ${INSTALL}/usr/share/readline
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user