Explorar o código

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 %!s(int64=4) %!d(string=hai) anos
pai
achega
b68b93b4b4
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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