Kaynağa Gözat

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>
Phil Sutter 4 yıl önce
ebeveyn
işleme
b68b93b4b4
1 değiştirilmiş dosya ile 1 ekleme ve 0 silme
  1. 1 0
      package/readline/Makefile

+ 1 - 0
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