소스 검색

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 년 전
부모
커밋
b68b93b4b4
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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