Author: luka Date: 2016-05-11 00:37:26 +0200 (Wed, 11 May 2016) New Revision: 49358
Modified: trunk/package/libs/ncurses/Makefile Log: ncurses: provide libncurses compatibility symlinks in libncursesw Signed-off-by: Felix Fietkau <[email protected]> Modified: trunk/package/libs/ncurses/Makefile =================================================================== --- trunk/package/libs/ncurses/Makefile 2016-05-10 22:37:24 UTC (rev 49357) +++ trunk/package/libs/ncurses/Makefile 2016-05-10 22:37:26 UTC (rev 49358) @@ -116,11 +116,17 @@ define Package/libncursesw/install $(INSTALL_DIR) $(1)/usr/lib - $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{ncurses,panel,menu,form}w.so* $(1)/usr/lib/ + for lib in ncurses panel menu form; do \ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib$$$${lib}w.so* $(1)/usr/lib/; \ + ln -s lib$$$${lib}w.so $(1)/usr/lib/lib$$$${lib}.so; \ + done endef define Build/InstallDev $(CP) $(PKG_INSTALL_DIR)/* $(1) + for lib in ncurses panel menu form; do \ + ln -s lib$$$${lib}w.so $(1)/usr/lib/lib$$$${lib}.so; \ + done $(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' \ _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
