From: Felix Fietkau Date: Wed, 11 May 2016 10:49:26 +0000 (+0000) Subject: ncurses: install a dummy libtinfo.a for packages that try to link it X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3ff1439534b19085ae934220e574c8052c31b19b;p=openwrt%2Fsvn-archive%2Fopenwrt.git ncurses: install a dummy libtinfo.a for packages that try to link it Signed-off-by: Felix Fietkau SVN-Revision: 49373 --- diff --git a/package/libs/ncurses/Makefile b/package/libs/ncurses/Makefile index 94da02e2b9..d97d0b53cd 100644 --- a/package/libs/ncurses/Makefile +++ b/package/libs/ncurses/Makefile @@ -127,6 +127,7 @@ define Build/InstallDev for lib in ncurses panel menu form; do \ ln -s lib$$$${lib}w.so $(1)/usr/lib/lib$$$${lib}.so; \ done + $(TARGET_CROSS)ar rc $(1)/usr/lib/libtinfo.a $(INSTALL_DIR) $(2)/bin $(CP) $(PKG_INSTALL_DIR)/usr/bin/ncursesw5-config $(2)/bin/ $(SED) 's,^\(prefix\|exec_prefix\)=.*,\1=$(STAGING_DIR)/usr,g' -e 's/$$$$INCS //g' \