summaryrefslogtreecommitdiff
path: root/package/readline
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2021-10-29 23:30:38 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2021-10-30 17:47:41 +0200
commitb68b93b4b47eae30b42d4888e3db1129dbb223b9 (patch)
tree201379347bf8871b6daff3a181d4d3babef9e145 /package/readline
parentd5b747dc2506c3a4cc0b94868770466b6913c1a7 (diff)
readline: Pass -ltinfo
Otherwise the library builds, but programs trying to use it have to link against libtinfo themselves (which they don't expect). Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'package/readline')
-rw-r--r--package/readline/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/readline/Makefile b/package/readline/Makefile
index cdf2c04f6..8ac34cceb 100644
--- a/package/readline/Makefile
+++ b/package/readline/Makefile
@@ -24,6 +24,7 @@ $(eval $(call HOST_template,READLINE,readline,${PKG_VERSION}-${PKG_RELEASE}))
$(eval $(call PKG_template,LIBREADLINE,libreadline,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
CONFIGURE_ARGS+= --with-curses
+TARGET_LDFLAGS+= -ltinfo
libreadline-install:
${INSTALL_DIR} ${IDIR_LIBREADLINE}/usr/lib