ncurses: add a compatibility symlink for packages searching for ncursesw/ncurses.h

Signed-off-by: Felix Fietkau <nbd@nbd.name>
owl
Felix Fietkau 2016-05-11 19:05:04 +02:00
parent 471ca4197c
commit 15f88192bf
1 changed files with 1 additions and 0 deletions

View File

@ -127,6 +127,7 @@ define Build/InstallDev
for lib in ncurses panel menu form; do \ for lib in ncurses panel menu form; do \
ln -s lib$$$${lib}w.so $(1)/usr/lib/lib$$$${lib}.so; \ ln -s lib$$$${lib}w.so $(1)/usr/lib/lib$$$${lib}.so; \
done done
ln -s . $(1)/usr/include/ncursesw
$(TARGET_CROSS)ar rc $(1)/usr/lib/libtinfo.a $(TARGET_CROSS)ar rc $(1)/usr/lib/libtinfo.a
$(INSTALL_DIR) $(2)/bin $(INSTALL_DIR) $(2)/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/ncursesw5-config $(2)/bin/ $(CP) $(PKG_INSTALL_DIR)/usr/bin/ncursesw5-config $(2)/bin/