aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-05-11 11:34:18 +0200
committerFelix Fietkau <nbd@nbd.name>2016-05-11 11:39:34 +0200
commitef6d6661e2c2584c5798b2783e6cfe2384215d3a (patch)
treec66521ea17b6a85eb242ba8f836966e17bbf6d91
parentcf3da7d2041b10651801864e6e4d29f630bf0aa0 (diff)
downloadupstream-ef6d6661e2c2584c5798b2783e6cfe2384215d3a.tar.gz
upstream-ef6d6661e2c2584c5798b2783e6cfe2384215d3a.tar.bz2
upstream-ef6d6661e2c2584c5798b2783e6cfe2384215d3a.zip
ncurses: install a dummy libtinfo.a for packages that try to link it
Signed-off-by: Felix Fietkau <nbd@nbd.name>
-rw-r--r--package/libs/ncurses/Makefile1
1 files changed, 1 insertions, 0 deletions
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' \